Borderou de evaluare (job #6591)

Utilizator avatar popescu Popescu Monica popescu IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 24 ian. 2013 09:46:18 Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[11]’ [-Wformat] user.cpp:13:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[11]’ [-Wformat] user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccamh9xE.o: In function `main': user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 268 kb Bravo! 10
2 8 ms 268 kb Bravo! 10
3 depășit 244 kb Time limit exceeded. 0
4 depășit 244 kb Time limit exceeded. 0
5 depășit 256 kb Time limit exceeded. 0
6 depășit 312 kb Time limit exceeded. 0
7 depășit 336 kb Time limit exceeded. 0
8 depășit 376 kb Time limit exceeded. 0
9 depășit 448 kb Time limit exceeded. 0
10 depășit 476 kb Time limit exceeded. 0
Punctaj total 20