Borderou de evaluare (job #732327)

Utilizator avatar Tibi201 Enache Tiberiu Mihai Tibi201 IP ascuns
Problemă Trei Divizori (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 sept. 2023 11:53:51 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:11:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:18:5: /usr/include/bits/stdio2.h:79:10: warning: 'nr' 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:7:19: note: 'nr' was declared here 7 | int i,a,rad,n,nr; | ^~ main.c:19:5: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free] 19 | fclose(fin); | ^~~~~~~~~~~ main.c:16:5: note: call to 'fclose' here 16 | fclose(fin); | ^~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 245 kb Incorect 0 0
2 1 ms 245 kb Incorect 0 0
3 1 ms 245 kb Incorect 0 0
4 1 ms 245 kb Incorect 0 0
5 9 ms 249 kb Incorect 0 0
6 19 ms 249 kb Incorect 0 0
7 39 ms 249 kb Incorect 0 0
8 49 ms 245 kb Incorect 0 0
9 49 ms 249 kb Incorect 0
10 49 ms 249 kb Incorect 0
Punctaj total 0