Borderou de evaluare (job #755829)

Utilizator avatar TudorMit Mituca Tudor-Ionut TudorMit IP ascuns
Problemă Minnr (clasa a 5-a) Compilator c-32
Rundă Tema 20 clasa a 5-a Status evaluat
Dată 17 ian. 2024 20:57:11 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:26:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 26 | if(n%10==0) | ^~ main.c:28:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 28 | n=n/10; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:21:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 21 | m=m*10+i; | ~^~~ main.c:8:28: note: 'm' was declared here 8 | int r=0,n,i,cn,cnt,p=1,m,y; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0