Borderou de evaluare (job #626208)

Utilizator avatar Tzepu Icriverzi Andrei Tzepu IP ascuns
Problemă Cursa Formula 1 3 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 18 ian. 2022 22:24:46 Scor 15

Raport evaluator

Compilare: main.c: In function 'main': main.c:26:29: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 26 | fscanf (fis1, "%d", &c); | ~^ ~~ | | | | | char * | int * | %hhd main.c:14:23: warning: unused variable 't' [-Wunused-variable] 14 | int n,ls,cs,i=0,d,t,x,l=0,j=0,f=0,i2,col=0,i3; | ^ main.c:14:21: warning: unused variable 'd' [-Wunused-variable] 14 | int n,ls,cs,i=0,d,t,x,l=0,j=0,f=0,i2,col=0,i3; | ^ main.c:14:9: warning: unused variable 'n' [-Wunused-variable] 14 | int n,ls,cs,i=0,d,t,x,l=0,j=0,f=0,i2,col=0,i3; | ^ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf (fis1, "%d%d", &ls, &cs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf (fis1, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:33:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fscanf (fis1, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:36:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | fscanf (fis1, "%d", &v2[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:38:14: warning: 'i2' may be used uninitialized in this function [-Wmaybe-uninitialized] 38 | while (i2<x) | ~~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 155 ms 118 kb Time limit exceeded 0
4 1 ms 118 kb OK 5
5 28 ms 114 kb Incorect 0
6 9 ms 110 kb Incorect 0
7 158 ms 118 kb Time limit exceeded 0
8 155 ms 233 kb Time limit exceeded 0
9 152 ms 245 kb Time limit exceeded 0
10 153 ms 249 kb Time limit exceeded 0
11 150 ms 249 kb Time limit exceeded 0
12 152 ms 245 kb Time limit exceeded 0
13 153 ms 245 kb Time limit exceeded 0
14 153 ms 249 kb Time limit exceeded 0
15 151 ms 245 kb Time limit exceeded 0
16 152 ms 245 kb Time limit exceeded 0
17 152 ms 249 kb Time limit exceeded 0
18 153 ms 249 kb Time limit exceeded 0
19 153 ms 380 kb Time limit exceeded 0
20 150 ms 372 kb Time limit exceeded 0
Punctaj total 15