Borderou de evaluare (job #801741)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Culori4 (clasa a 5-a) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 30 dec. 2024 11:53:25 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin ,"%d%d",&c,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin ,"%d",&num); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:20:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin ,"%d",&x); | ^~~~~~~~~~~~~~~~~~~~ main.c:45:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | fscanf(fin ,"%d",&num); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:50:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fscanf(fin ,"%d",&x); | ^~~~~~~~~~~~~~~~~~~~ main.c:57:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fscanf(fin ,"%d",&x); | ^~~~~~~~~~~~~~~~~~~~ main.c:67:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fscanf(fin ,"%d",&x); | ^~~~~~~~~~~~~~~~~~~~ main.c:35:25: warning: 'kmax' may be used uninitialized [-Wmaybe-uninitialized] 35 | kmax++; | ~~~~^~ main.c:8:27: note: 'kmax' was declared here 8 | int c,n,num,x,lmax=-1,kmax,i,j,ok,xx,nummax=0,okok; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 2
2 7 ms 245 kb OK 3
3 5 ms 245 kb OK 2
4 5 ms 245 kb OK 2
5 1 ms 249 kb OK 3
6 26 ms 507 kb OK 3
7 1191 ms 249 kb OK 3
8 489 ms 249 kb OK 3
9 2721 ms 245 kb OK 3
10 1215 ms 507 kb OK 3
11 3 ms 245 kb OK 2
12 5 ms 245 kb OK 2
13 5 ms 245 kb OK 3
14 18 ms 249 kb OK 3
15 5 ms 245 kb OK 5
16 5 ms 245 kb OK 5
17 96 ms 245 kb OK 6
18 680 ms 245 kb OK 9
19 213 ms 245 kb OK 9
20 2686 ms 503 kb OK 10
21 2637 ms 245 kb OK 10
22 2053 ms 245 kb OK 9
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 90