Borderou de evaluare (job #643180)

Utilizator avatar amalia_ghica Amalia Ghica amalia_ghica IP ascuns
Problemă Maya (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 23 mar. 2022 15:05:27 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin , "%d%d\n" , &cer, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin , "%c%d ", &c, &nr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:30:15: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fscanf(fin , "%d ", &m); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:34:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf(fin , "%c", &a); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:24:13: warning: iteration 27 invokes undefined behavior [-Waggressive-loop-optimizations] 24 | if(f[i] == ma){ | ~^~~ main.c:23:20: note: within this loop 23 | for(i = 0; i <= 27; i++){ | ~~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 114 kb OK 5
8 1 ms 110 kb OK 5
9 1 ms 110 kb OK 5
10 1 ms 114 kb OK 5
11 1 ms 110 kb OK 5
12 1 ms 110 kb OK 5
13 1 ms 114 kb OK 10
14 1 ms 118 kb OK 10
15 1 ms 114 kb OK 10
16 18 ms 118 kb OK 10
Punctaj total 100