Borderou de evaluare (job #627724)

Utilizator avatar nicu_petra Nicu Petra Stefania nicu_petra IP ascuns
Problemă Culori (clasa a 5-a) Compilator c-32
Rundă Tema 22 clasa a 5-a Status evaluat
Dată 24 ian. 2022 20:47:37 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:20: warning: format '%d' expects a matching 'int *' argument [-Wformat=] 12 | fscanf(fin,"%d%d",&n); | ~^ | | | int * main.c:9:13: warning: variable 'cresc' set but not used [-Wunused-but-set-variable] 9 | int a,n,cresc,nr,i; | ^~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d%d",&n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:14:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ main.c:19:14: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | while(v[nr]>0){ | ~^~~~ main.c:18:16: note: within this loop 18 | for(nr=0;nr<=99;nr++){ | ~~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Killed by Signal 11 0
2 68 ms 180 kb Incorect 0
3 60 ms 188 kb Incorect 0
4 68 ms 176 kb Incorect 0
5 61 ms 94 kb Incorect 0
6 66 ms 204 kb Incorect 0
7 66 ms 159 kb Incorect 0
8 118 ms 212 kb Incorect 0
9 707 ms 262 kb Time limit exceeded 0
10 685 ms 163 kb Incorect 0
Punctaj total 0