Borderou de evaluare (job #746805)

Utilizator avatar cilie C Ilie cilie IP ascuns
Problemă Seif2 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 22 nov. 2023 20:05:38 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:26:9: warning: unused variable 'maxim' [-Wunused-variable] 26 | int maxim=0; | ^~~~~ main.c:28:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin,"%d ",&n); | ^~~~~~~~~~~~~~~~~~~~ main.c:29:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin,"%d",&nr1); | ^~~~~~~~~~~~~~~~~~~~~ main.c:31:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf(fin,"%d",&nr2); | ^~~~~~~~~~~~~~~~~~~~~ main.c:39:11: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized] 39 | if(max<cifru) | ^ main.c:25:14: note: 'max' was declared here 25 | int n,i, max, nr1,nr2,nc,cifru, cnr2; | ^~~
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 241 kb Incorect 0
6 1 ms 249 kb OK 10
7 19 ms 249 kb OK 10
8 29 ms 249 kb OK 10
9 49 ms 241 kb OK 10
10 49 ms 249 kb OK 10
Punctaj total 90