Borderou de evaluare (job #626204)

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:10:39 Scor 5

Raport evaluator

Compilare: main.c: In function 'main': main.c:24:29: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 24 | 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:24:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf (fis1, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:31:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf (fis1, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:34:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf (fis1, "%d", &v2[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:36:14: warning: 'i2' may be used uninitialized in this function [-Wmaybe-uninitialized] 36 | while (i2<x) | ~~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb Incorect 0
3 156 ms 245 kb Time limit exceeded 0
4 1 ms 245 kb Incorect 0
5 18 ms 118 kb Incorect 0
6 1 ms 118 kb Incorect 0
7 158 ms 118 kb Time limit exceeded 0
8 166 ms 360 kb Time limit exceeded 0
9 156 ms 249 kb Time limit exceeded 0
10 152 ms 249 kb Time limit exceeded 0
11 156 ms 376 kb Time limit exceeded 0
12 152 ms 245 kb Time limit exceeded 0
13 156 ms 245 kb Time limit exceeded 0
14 151 ms 241 kb Time limit exceeded 0
15 157 ms 249 kb Time limit exceeded 0
16 154 ms 249 kb Time limit exceeded 0
17 154 ms 249 kb Time limit exceeded 0
18 156 ms 380 kb Time limit exceeded 0
19 156 ms 380 kb Time limit exceeded 0
20 153 ms 380 kb Time limit exceeded 0
Punctaj total 5