Borderou de evaluare (job #682543)

Utilizator avatar DavidV Nerdvana 6 Vasile David Andrei DavidV IP ascuns
Problemă Cartier (clasa a 6-a) Compilator c-32
Rundă Concurs 02 cursuri de performanță | IQ Academy | clasa a 6-a Status evaluat
Dată 17 dec. 2022 16:39:06 Scor 7

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:10: warning: unused variable 'h' [-Wunused-variable] 7 | int n, h, l, min, nrc, sl, i, max, nrmax, hh, ll; | ^ main.c:9:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf( fin, "%d", &nrc ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:8: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] 22 | sl += ll; | ~~~^~~~~ main.c:26:13: warning: 'hh' may be used uninitialized in this function [-Wmaybe-uninitialized] 26 | }else if( hh == max ) | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb a) rezultat incorect; b) rezultat incorect; c) lipsa 0
2 101 ms 118 kb Time limit exceeded 0
3 103 ms 118 kb Time limit exceeded 0
4 106 ms 118 kb Time limit exceeded 0
5 102 ms 118 kb Time limit exceeded 0
6 72 ms 114 kb a) OK; b) rezultat incorect; c) lipsa 4
7 34 ms 118 kb a) rezultat incorect; b) rezultat incorect; c) lipsa 0
8 104 ms 118 kb Time limit exceeded 0
9 91 ms 118 kb a) rezultat incorect; b) OK; c) lipsa 3
10 103 ms 118 kb Time limit exceeded 0
Punctaj total 7