Borderou de evaluare (job #737806)

Utilizator avatar vladimir.gavris vladimir g vladimir.gavris IP ascuns
Problemă Livada1 (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 oct. 2023 08:33:45 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:18: warning: unused variable 'p' [-Wunused-variable] 11 | int n, m, k, p, i, j, candidat, voturi, lungime, lmax, raspuns; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf( fin, "%d %d %d ", &m, &n, &k ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf( fin, "%d", &ran[ 0 ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:24:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf( fin ,"%d", &ran[ j ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK! 10
2 39 ms 249 kb OK! 10
3 109 ms 249 kb OK! 10
4 239 ms 249 kb OK! 10
5 408 ms 262 kb OK! 10
6 399 ms 258 kb OK! 10
7 395 ms 1048 kb OK! 10
8 385 ms 249 kb OK! 10
9 407 ms 3137 kb Memory limit exceeded 0
10 1 ms 245 kb OK! 10
Punctaj total 90