Borderou de evaluare (job #791122)

Utilizator avatar mariapuiu Puiu Maria Dimitria mariapuiu IP ascuns
Problemă Hobbit (clasa a 5-a) Compilator c-32
Rundă Tema 11 Clasa a 5-a Status evaluat
Dată 24 oct. 2024 12:32:29 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if(a%10%2==0) | ^~ main.c:16:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | a=a/10; | ^ main.c:19:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 19 | if(b%10%2==1) | ^~ main.c:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 21 | b=b/10; | ^ main.c:30:4: warning: statement with no effect [-Wunused-value] 30 | m==(x*y)/ca; | ~^~~~~~~~~~ main.c:9:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d%d",&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:32:3: warning: 'm' is used uninitialized [-Wuninitialized] 32 | fprintf(fout,"%d",m); | ^~~~~~~~~~~~~~~~~~~~ main.c:6:23: note: 'm' was declared here 6 | int a,b,ca,cb,x,y,r,m; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 266 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
Punctaj total 0