Borderou de evaluare (job #842556)

Utilizator avatar Alex_Roca Roca Alexandru Alex_Roca IP ascuns
Problemă Nset (clasa a 7-a) Compilator c
Rundă Tema 6 Clasa a 7-a Status evaluat
Dată 17 nov. 2025 19:23:00 Scor 100

Raport evaluator

Compilare: main.c: In function 'seafla': main.c:10:1: warning: control reaches end of non-void function [-Wreturn-type] 10 | } | ^ main.c: In function 'main': main.c:20:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf( fin, "%lld", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:23:3: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free] 23 | fprintf( fin, "%d", nrdist(n)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:3: note: call to 'fclose' here 21 | fclose( fin ); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:23:3: /usr/include/bits/stdio2.h:111:10: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:21:3: note: call to 'fclose' here 21 | fclose( fin ); | ^~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 512 kb OK 5
2 1 ms 512 kb OK 5
3 0 ms 296 kb OK 5
4 0 ms 296 kb OK 5
5 0 ms 296 kb OK 5
6 0 ms 296 kb OK 5
7 0 ms 296 kb OK 5
8 0 ms 296 kb OK 5
9 1 ms 512 kb OK 5
10 1 ms 512 kb OK 5
11 1 ms 512 kb OK 5
12 0 ms 296 kb OK 5
13 0 ms 296 kb OK 5
14 1 ms 512 kb OK 5
15 1 ms 512 kb OK 5
16 0 ms 512 kb OK 5
17 0 ms 296 kb OK 5
18 1 ms 512 kb OK 5
19 0 ms 296 kb OK 5
20 1 ms 512 kb OK 5
Punctaj total 100