Borderou de evaluare (job #670100)

Utilizator avatar DobraVictor Dobra Victor DobraVictor IP ascuns
Problemă Cufar (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 oct. 2022 19:12:48 Scor 54

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%u %u", &c, &n); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:23:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fscanf(fin, "%u %u", &nr, &k); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:49:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | fscanf(fin, "%u %u", &nr, &k); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:69:17: warning: 'div' may be used uninitialized in this function [-Wmaybe-uninitialized] 69 | sum += div; | ~~~~^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 1159 kb Corect 2
2 3 ms 1159 kb Corect 8
3 3 ms 1159 kb Corect 4
4 3 ms 1159 kb Corect 4
5 3 ms 1159 kb Corect 5
6 2 ms 1163 kb Corect 5
7 3 ms 1163 kb Corect 3
8 2 ms 1159 kb Corect 3
9 3 ms 1159 kb Corect 3
10 3 ms 1159 kb Corect 3
11 3 ms 1159 kb Corect 3
12 35 ms 1167 kb Corect 3
13 143 ms 1163 kb Corect 4
14 327 ms 1163 kb Corect 4
15 950 ms 1163 kb Rapuns gresit 0
16 1507 ms 1167 kb Time limit exceeded 0
17 1523 ms 1167 kb Time limit exceeded 0
18 1514 ms 1167 kb Time limit exceeded 0
19 1518 ms 1163 kb Time limit exceeded 0
20 1510 ms 1167 kb Time limit exceeded 0
Punctaj total 54