Borderou de evaluare (job #578280)

Utilizator avatar andrei_ciobanu Ciobanu Andrei andrei_ciobanu IP ascuns
Problemă Flori Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 ian. 2021 10:19:27 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d%d", &n, &m); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:21:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d", &Garden[i][j]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:27:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d", &tests); | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:30:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fscanf(fin, "%d%d%d%d%d", &line1, &column1, &line2, &column2, &value); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:49:37: warning: 'maxHeightAppearances' may be used uninitialized in this function [-Wmaybe-uninitialized] 49 | maxHeightAppearances++; | ~~~~~~~~~~~~~~~~~~~~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 393 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 393 kb OK 10
4 36 ms 1441 kb OK 10
5 39 ms 3403 kb OK 10
6 100 ms 4194 kb OK 10
7 271 ms 6422 kb OK 10
8 249 ms 5111 kb OK 10
9 402 ms 8388 kb Time limit exceeded 0
10 398 ms 8384 kb OK 10
Punctaj total 90