Borderou de evaluare (job #605333)

Utilizator avatar Andrei_Icriverzi Andrei Icriverzi Andrei_Icriverzi IP ascuns
Problemă Siruri1 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 sept. 2021 16:20:41 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:6:46: warning: variable 'max2' set but not used [-Wunused-but-set-variable] 6 | int x[101],i,y[101],j,maxx=-1,pozmax,c=0,max2,n,n2; | ^~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf (fis1, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf (fis1, "%d", &x[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:30:18: warning: 'pozmax' may be used uninitialized in this function [-Wmaybe-uninitialized] 30 | y[pozmax]=n2; | ~~~~~~~~~^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 131 kb OK 10
6 1 ms 131 kb OK 10
7 1 ms 131 kb OK 10
8 1 ms 131 kb OK 10
9 1 ms 131 kb OK 10
10 2 ms 131 kb OK 10
Punctaj total 100