Borderou de evaluare (job #670101)

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:14:38 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 43 ms 1167 kb Corect 2
2 44 ms 1163 kb Corect 8
3 39 ms 1163 kb Corect 4
4 17 ms 1167 kb Corect 4
5 37 ms 1163 kb Corect 5
6 42 ms 1163 kb Corect 5
7 40 ms 1159 kb Corect 3
8 50 ms 1159 kb Corect 3
9 41 ms 1159 kb Corect 3
10 3 ms 1167 kb Corect 3
11 54 ms 1163 kb Corect 3
12 86 ms 1167 kb Corect 3
13 182 ms 1159 kb Corect 4
14 361 ms 1159 kb Corect 4
15 988 ms 1212 kb Rapuns gresit 0
16 1514 ms 1167 kb Time limit exceeded 0
17 1513 ms 1167 kb Time limit exceeded 0
18 1523 ms 1159 kb Time limit exceeded 0
19 1514 ms 1167 kb Time limit exceeded 0
20 1501 ms 1167 kb Time limit exceeded 0
Punctaj total 54