Borderou de evaluare (job #830847)

Utilizator avatar DragonulCosmic Nerdvana 5 Calin Dragos Andrei DragonulCosmic IP ascuns
Problemă Meteo (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 17 iul. 2025 11:16:42 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | fscanf ( fin , "%d%d" , &N , &zile[0] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf ( fin , "%d" , &zile[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:33:28: warning: 'maxst' may be used uninitialized [-Wmaybe-uninitialized] 33 | for ( i = maxst; i <= maxdr; i++ ) | ~~^~~~~~~~ main.c:5:37: note: 'maxst' was declared here 5 | int N , len , maxlen , st , i , maxst , maxdr; | ^~~~~ main.c:33:28: warning: 'maxdr' may be used uninitialized [-Wmaybe-uninitialized] 33 | for ( i = maxst; i <= maxdr; i++ ) | ~~^~~~~~~~ main.c:5:45: note: 'maxdr' was declared here 5 | int N , len , maxlen , st , i , maxst , maxdr; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 2 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 2 ms 245 kb OK 10
5 2 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 507 kb OK 10
Punctaj total 100