Borderou de evaluare (job #679466)

Utilizator avatar andreidumitrache Dumitrache Andrei-Bogdan andreidumitrache IP ascuns
Problemă Moștenire (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 dec. 2022 22:55:15 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:36: warning: unused variable 'min' [-Wunused-variable] 12 | int c , q , n , k, i , j , x , min , max , z; | ^~~ main.c:12:32: warning: unused variable 'x' [-Wunused-variable] 12 | int c , q , n , k, i , j , x , min , max , z; | ^ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf ( fin , "%d%d%d%d" , &c , &q , &n , &k ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf ( fin , "%d" , &parola[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf ( fin , "%d%d" , &s[i] , &d[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:34:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf ( fin , "%d" , &parola[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:44:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fscanf ( fin , "%d%d" , &s[i] , &d[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:49:20: warning: iteration 9999 invokes undefined behavior [-Waggressive-loop-optimizations] 49 | if ( fv[j] > max ) { | ~~^~~ main.c:48:25: note: within this loop 48 | for ( j = 1 ; j <= 10000 ; j++ ) | ~~^~~~~~~~ main.c:63:20: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 63 | if ( cf[i] > 0 ) | ~~^~~ main.c:62:25: note: within this loop 62 | for ( i = 0 ; i <= 9 ; i++ ) | ~~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 12 ms 229 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 118 kb OK 5
7 1 ms 114 kb OK 5
8 1 ms 114 kb OK 5
9 1 ms 110 kb OK 5
10 1 ms 110 kb OK 5
11 1 ms 110 kb Incorect 0
12 1 ms 114 kb Incorect 0
13 1 ms 114 kb Incorect 0
14 1 ms 118 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 114 kb Incorect 0
18 1 ms 114 kb Incorect 0
19 1 ms 114 kb Incorect 0
20 1 ms 114 kb Incorect 0
Punctaj total 50