Borderou de evaluare (job #135596)

Utilizator avatar ftsl Dragomir Ioan ftsl IP ascuns
Problemă Nod (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 20 mar. 2015 16:08:35 Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int roman(char*)’: user.cpp:14:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] user.cpp: In function ‘void c2()’: user.cpp:87:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[210]’ [-Wformat] user.cpp:60:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:66:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:72:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:78:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:87:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘void c1()’: user.cpp:36:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:43:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:50:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘int main()’: user.cpp:27:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:28:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccxF8DD1.o: In function `c1()': user.cpp:(.text+0x118): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 272 kb Incorect 0
2 0 ms 268 kb OK 10
3 0 ms 272 kb Incorect 0
4 0 ms 248 kb Killed by signal 11(SIGSEGV). 0
5 0 ms 276 kb OK 10
6 0 ms 248 kb Killed by signal 11(SIGSEGV). 0
7 0 ms 248 kb Killed by signal 11(SIGSEGV). 0
8 0 ms 248 kb Killed by signal 11(SIGSEGV). 0
9 152 ms 272 kb OK 10
10 0 ms 244 kb Killed by signal 11(SIGSEGV). 0
Punctaj total 30