Borderou de evaluare (job #794424)

Utilizator avatar Eric_Radavoi Radavoi Eric Andrei Eric_Radavoi IP ascuns
Problemă Dvorak (clasa a 10-a) Compilator c-32
Rundă Tema 16 Clasa a 6-a Status evaluat
Dată 13 nov. 2024 11:08:31 Scor 70

Raport evaluator

Compilare: main.c: In function 'main': main.c:46:36: warning: array subscript has type 'char' [-Wchar-subscripts] 46 | par[nr1] = dvorak[nr]; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf (fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:37:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fscanf (fin, "%d", &cer); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:42:14: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf (fin, "%d %d", &nr1, &nr2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:82:17: warning: 'ver' may be used uninitialized [-Wmaybe-uninitialized] 82 | if (ver == 0) | ^ main.c:9:48: note: 'ver' was declared here 9 | int n, ccci, cci, ci, i, cer, nr1, nr2, s, ver, c2 = 0, l; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb Incorect 0
7 9 ms 249 kb Incorect 0
8 1 ms 270 kb Incorect 0
9 39 ms 245 kb OK 10
10 39 ms 507 kb OK 10
Punctaj total 70