Borderou de evaluare (job #640056)

Utilizator avatar PetruApostol Petru Apostol PetruApostol IP ascuns
Problemă Culori1 (clasa a 5-a) Compilator c-32
Rundă Tema 32 clasa a 5-a Status evaluat
Dată 11 mar. 2022 16:35:21 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d%d%d",&n,&k,&a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:64:17: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations] 64 | c[m]=0; | ~~~~^~ main.c:58:18: note: within this loop 58 | for(m=0;m<=100;m++) | ~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 118 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 1 ms 114 kb OK 10
10 1 ms 114 kb OK 10
Punctaj total 100