Borderou de evaluare (job #694390)

Utilizator avatar cezar123 Mihalcea Cezar Adrian cezar123 IP ascuns
Problemă Divizor (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 feb. 2023 18:38:15 Scor 80

Raport evaluator

Compilare: main.c:3:1: warning: data definition has no type or storage class 3 | V[6]; | ^ main.c:3:1: warning: type defaults to 'int' in declaration of 'V' [-Wimplicit-int] main.c: In function 'main': main.c:7:25: warning: unused variable 'ncc' [-Wunused-variable] 7 | int n, m=0, nc, mc, ncc, l, mcc, lc, nr, i,imax=0, v, dmax=0, cnt=0, r=1, check=0; | ^~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:76:19: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized] 76 | if(nr==imax) | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 2 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 1 ms 114 kb Incorect 0
10 77 ms 118 kb OK 10
Punctaj total 80