Borderou de evaluare (job #809791)

Utilizator avatar maria_C1 Chertes Maria maria_C1 IP ascuns
Problemă Magic 2 (clasa a 5-a) Compilator c-32
Rundă Tema 25 Clasa a 5-a Status evaluat
Dată 19 feb. 2025 16:41:21 Scor 60

Raport evaluator

Compilare: 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", &k); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:16:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf (fin, "%d", &cif); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:42:5: /usr/include/bits/stdio2.h:111:10: warning: 'ras' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:9:51: note: 'ras' was declared here 9 | int a, b, p, i, nr, ab, ba, k, cif, mx1, mx2, ras, d; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
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 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 60