Borderou de evaluare (job #799699)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Cursa Formula 1 3 (clasa a 6-a) Compilator c-32
Rundă Tema 20 Clasa a 6-a Status evaluat
Dată 13 dec. 2024 16:44:18 Scor 5

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d%d",&li,&co); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:33:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:37:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:27:18: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 27 | nr=nr*10+c-'0'; | ~~^~~ main.c:9:20: note: 'nr' was declared here 9 | int li, co, n, nr, m, j, i, x, lc, cc, k, p, w; | ^~ main.c:41:19: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 41 | while(x+v2[j]<=k){ | ~~^~~ main.c:9:27: note: 'j' was declared here 9 | int li, co, n, nr, m, j, i, x, lc, cc, k, p, w; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 2 ms 126 kb Incorect 0
3 9 ms 225 kb Incorect 0
4 9 ms 225 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 49 ms 245 kb Incorect 0
8 39 ms 217 kb Incorect 0
9 159 ms 249 kb Time limit exceeded 0
10 159 ms 229 kb Time limit exceeded 0
11 159 ms 270 kb Time limit exceeded 0
12 159 ms 249 kb Time limit exceeded 0
13 159 ms 270 kb Time limit exceeded 0
14 159 ms 249 kb Time limit exceeded 0
15 159 ms 270 kb Time limit exceeded 0
16 159 ms 249 kb Time limit exceeded 0
17 159 ms 262 kb Time limit exceeded 0
18 159 ms 237 kb Time limit exceeded 0
19 159 ms 262 kb Time limit exceeded 0
20 159 ms 262 kb Time limit exceeded 0
Punctaj total 5