Borderou de evaluare (job #814935)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Ruleta1 ( clasa a 6-a ) Compilator c-32 | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 15 mar. 2025 13:03:14 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:22: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized] 27 | if(v[(i+1)%n]+z==0){ | ~~~~~~~~~~^~ main.c:6:17: note: 'z' was declared here 6 | int n, i, ok, z, poz0, curs; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 49 ms 249 kb OK 10
3 199 ms 270 kb OK 10
4 219 ms 249 kb OK 10
5 2009 ms 249 kb Time limit exceeded 0
6 2009 ms 270 kb Time limit exceeded 0
7 469 ms 270 kb OK 10
8 2009 ms 270 kb Time limit exceeded 0
9 2009 ms 249 kb Time limit exceeded 0
10 1 ms 245 kb OK 10
Punctaj total 60