Borderou de evaluare (job #693851)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Lasere (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 7 feb. 2023 22:30:06 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void read_matrix(int, int (*)[210])': main.cpp:8:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%d", &a[i][j]); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:70:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | freopen("lasere.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:71:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | freopen("lasere.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:74:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | scanf("%d", &c); | ~~~~~^~~~~~~~~~ main.cpp:77:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | scanf("%d%d", &n,&m); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:84:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | scanf("%d%d%d", &p,&q,&d); | ~~~~~^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 110 kb OK 10
3 1 ms 118 kb Killed by Signal 11 0
4 1 ms 110 kb OK 10
5 24 ms 376 kb Killed by Signal 11 0
6 1 ms 118 kb Killed by Signal 11 0
7 1 ms 118 kb Killed by Signal 11 0
8 1 ms 118 kb Killed by Signal 11 0
9 1 ms 245 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 30