Borderou de evaluare (job #6569)

Utilizator avatar sebyp Sebastian Gheorghe sebyp IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 ian. 2013 18:55:00 Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[11]’ [-Wformat] user.cpp:14:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[11]’ [-Wformat] user.cpp:18:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[11]’ [-Wformat] user.cpp:18:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[11]’ [-Wformat] user.cpp:59:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:93:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccY9U4gW.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 256 kb Ai gresit complet! 0
2 0 ms 260 kb Ai gresit complet! 0
3 4 ms 276 kb Ai gresit complet! 0
4 8 ms 292 kb Ai gresit complet! 0
5 148 ms 408 kb Ai gresit complet! 0
6 0 ms 336 kb Killed by signal 6(SIGABRT). 0
7 0 ms 332 kb Killed by signal 6(SIGABRT). 0
8 0 ms 332 kb Killed by signal 6(SIGABRT). 0
9 0 ms 336 kb Killed by signal 6(SIGABRT). 0
10 4 ms 332 kb Killed by signal 6(SIGABRT). 0
Punctaj total 0