Borderou de evaluare (job #628752)

Utilizator avatar Farcas Bogdan Deju Farcas IP ascuns
Problemă Roboti1 (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 ian. 2022 16:03:50 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void deplasare()': main.cpp:90:15: warning: unused variable 'vechil' [-Wunused-variable] 90 | int i, j, vechil, vechic; | ^~~~~~ main.cpp:90:23: warning: unused variable 'vechic' [-Wunused-variable] 90 | int i, j, vechil, vechic; | ^~~~~~ main.cpp: In function 'void date()': main.cpp:17:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | scanf("%d %d\n", &l, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:18:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | scanf("%d\n", &n); | ~~~~~^~~~~~~~~~~~ main.cpp:22:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | scanf("%d %d %c\n", &x[i], &y[i], &ori[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | scanf("%d\n", &m); | ~~~~~^~~~~~~~~~~~ main.cpp:28:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fgets(depl[i] + 1, MAX , stdin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:146:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | freopen(FIN,"r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp:147:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | freopen(FOU,"w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 2 ms 139 kb OK 10
10 2 ms 139 kb OK 10
Punctaj total 100