Borderou de evaluare (job #665126)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Concurs (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 sept. 2022 10:55:00 Scor 44

Raport evaluator

Compilare: main.c: In function 'main': main.c:45:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 45 | else | ^~~~ main.c:48:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 48 | fprintf(fout,"%d\n%d",s,s2); | ^~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&H); | ^~~~~~~~~~~~~~~~~~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:28:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin,"%d",&prem); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:40:19: warning: 'c2' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | if(prem == c2) | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 110 kb OK 10
2 1 ms 114 kb a) corect, b) c) incorect 3
3 1 ms 114 kb OK 10
4 1 ms 110 kb a) corect, b) c) incorect 3
5 1 ms 114 kb a) corect, b) c) incorect 3
6 1 ms 110 kb a) corect, b) c) incorect 3
7 1 ms 114 kb a) corect, b) c) incorect 3
8 1 ms 114 kb a) corect, b) c) incorect 3
9 1 ms 114 kb a) corect, b) c) incorect 3
10 1 ms 110 kb a) corect, b) c) incorect 3
Punctaj total 44