Borderou de evaluare (job #743256)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Mulţimi (clasa a 5-a) Compilator c-32
Rundă Tema 13 clasa a 5-a Status evaluat
Dată 7 nov. 2023 22:12:37 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf( fin, "%d%d\n", &a, &b ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:42:6: warning: pointer 'fout' may be used after 'fclose' [-Wuse-after-free] 42 | fprintf( fout, "multimea vida"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:40:14: note: call to 'fclose' here 40 | fclose( fout ); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:42:6: /usr/include/bits/stdio2.h:79:10: warning: pointer 'fout' may be used after 'fclose' [-Wuse-after-free] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:40:14: note: call to 'fclose' here 40 | fclose( fout ); | ^~~~~~~~~~~~~~
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 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 1 ms 249 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 2 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 10