Borderou de evaluare (job #768192)

Utilizator avatar Ralucutza Popa Maya Ralucutza IP ascuns
Problemă Pseudocmp (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 mar. 2024 16:28:17 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:23: warning: unused variable 'ok' [-Wunused-variable] 17 | int cer,n,i,x,y,j,ok; | ^~ main.c:17:19: warning: unused variable 'y' [-Wunused-variable] 17 | int cer,n,i,x,y,j,ok; | ^ main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d%d", &cer, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:23:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:28:16: warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations] 28 | while(f[i]!=0) { | ~^~~ main.c:27:15: note: within this loop 27 | for(i=0; i<=MAXI; i++) { | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb OK 5
2 9 ms 245 kb OK 5
3 9 ms 245 kb OK 5
4 29 ms 4435 kb OK 5
5 39 ms 4435 kb OK 5
6 49 ms 4444 kb OK 5
7 59 ms 4440 kb OK 5
8 59 ms 4440 kb OK 5
9 1 ms 249 kb Incorect 0
10 9 ms 245 kb Incorect 0
11 9 ms 245 kb OK 5
12 9 ms 2867 kb Incorect 0
13 9 ms 2871 kb Incorect 0
14 49 ms 4444 kb Incorect 0
15 61 ms 4440 kb Incorect 0
16 79 ms 4464 kb OK 5
17 89 ms 4722 kb Incorect 0
18 92 ms 4702 kb Wall time limit exceeded 0
19 92 ms 4706 kb Wall time limit exceeded 0
20 93 ms 4702 kb Wall time limit exceeded 0
Punctaj total 50