Borderou de evaluare (job #757253)

Utilizator avatar ITmaster Radulescu Denis Ciprian ITmaster IP ascuns
Problemă Cifre1 (clasa a 5-a) Compilator c-32
Rundă Tema 21 Clasa a 5-a Status evaluat
Dată 23 ian. 2024 14:11:44 Scor 15

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:10: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 12 | if (a==b==0) { | ~^~~ main.c:8:28: warning: variable 'bc' set but not used [-Wunused-but-set-variable] 8 | int c, n, i, m=0, x=1, bc; | ^~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d %d", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:13:6: /usr/include/bits/stdio2.h:79:10: warning: 'fout' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:6:17: note: 'fout' was declared here 6 | FILE *fin, *fout; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 249 kb Killed by Signal 11 0
4 1 ms 249 kb Killed by Signal 11 0
5 1 ms 249 kb Killed by Signal 11 0
6 1 ms 249 kb Killed by Signal 11 0
7 2 ms 249 kb Killed by Signal 11 0
8 1 ms 245 kb OK 10
9 1 ms 249 kb Killed by Signal 11 0
10 1 ms 245 kb Raspuns incorect la punctul (b) 5
Punctaj total 15