Borderou de evaluare (job #754754)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Cifre comune (clasa a 5-a) Compilator c-32
Rundă Tema 20 clasa a 5-a Status evaluat
Dată 13 ian. 2024 10:57:08 Scor 100

Raport evaluator

Compilare: main.c:4:1: warning: data definition has no type or storage class 4 | v[9]; | ^ main.c:4:1: warning: type defaults to 'int' in declaration of 'v' [-Wimplicit-int] main.c: In function 'main': main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin ,"%d\n%d",&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:31:13: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 31 | if(v[i]!=0) | ~^~~ main.c:29:12: note: within this loop 29 | while(i<=9) | ~^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100