Borderou de evaluare (job #66837)

Utilizator avatar cygnus Cygnus Computers cygnus IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 3 apr. 2014 17:28:31 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’ [-Wformat] user.cpp:24:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[20]’ [-Wformat] user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:18:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccIHkcln.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 264 kb Bravo! 10
2 0 ms 264 kb Bravo! 10
3 0 ms 292 kb Bravo! 10
4 4 ms 328 kb Bravo! 10
5 72 ms 532 kb Bravo! 10
6 depășit 692 kb Time limit exceeded. 0
7 depășit 904 kb Time limit exceeded. 0
8 depășit 1452 kb Time limit exceeded. 0
9 depășit 1604 kb Time limit exceeded. 0
10 depășit 1640 kb Time limit exceeded. 0
Punctaj total 50