Borderou de evaluare (job #238856)

Utilizator avatar bciobanu Bogdan Ciobanu bciobanu IP ascuns
Problemă Constrangere Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 1 mai 2016 19:17:19 Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:97:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:98:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:101:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:106:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:115:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccZPZg73.o: In function `main': user.cpp:(.text.startup+0x14e): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 304 kb OK 10
2 0 ms 308 kb Incorect 0
3 0 ms 308 kb OK 10
4 0 ms 360 kb Incorect 0
5 0 ms 316 kb OK 10
6 0 ms 424 kb OK 10
7 0 ms 396 kb OK 10
8 0 ms 356 kb OK 10
9 4 ms 600 kb OK 10
10 0 ms 452 kb OK 10
Punctaj total 80