Borderou de evaluare (job #7005)

Utilizator avatar marcspataru123 Marc Spataru marcspataru123 IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 27 ian. 2013 18:17:52 Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100]’ [-Wformat] user.cpp:18:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100]’ [-Wformat] user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccUixcgH.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 296 kb Bravo! 10
2 0 ms 384 kb Ai gresit complet! 0
3 0 ms 300 kb Killed by signal 11(SIGSEGV). 0
4 0 ms 292 kb Killed by signal 11(SIGSEGV). 0
5 0 ms 304 kb Killed by signal 11(SIGSEGV). 0
6 0 ms 336 kb Killed by signal 11(SIGSEGV). 0
7 0 ms 368 kb Killed by signal 11(SIGSEGV). 0
8 4 ms 412 kb Killed by signal 6(SIGABRT). 0
9 4 ms 412 kb Killed by signal 6(SIGABRT). 0
10 4 ms 412 kb Killed by signal 6(SIGABRT). 0
Punctaj total 10