Borderou de evaluare (job #771118)

Utilizator avatar NeaguIoan Negu Catalin NeaguIoan IP ascuns
Problemă Trio (clasa a 5-a) Compilator c-32
Rundă Tema 34 Clasa a 5-a Status evaluat
Dată 30 mar. 2024 20:39:59 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 13 | if( a == 1 && b == 6 ) | ^~ main.c:15:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 15 | fprintf( fin, "%d", a ); | ^~~~~~~ main.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 16 | if( a == 2 && b == 6 ) | ^~ main.c:18:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 18 | fprintf( fin, "%d", a ); | ^~~~~~~ main.c:19:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 19 | if( a == 3 && b == 6 ) | ^~ main.c:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 21 | fprintf( fin, "%d", a ); | ^~~~~~~ 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 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:9: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free] 21 | fprintf( fin, "%d", a ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:11:5: note: call to 'fclose' here 11 | fclose(fin); | ^~~~~~~~~~~ main.c:18:9: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free] 18 | fprintf( fin, "%d", a ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:11:5: note: call to 'fclose' here 11 | fclose(fin); | ^~~~~~~~~~~ main.c:15:9: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free] 15 | fprintf( fin, "%d", a ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:11:5: note: call to 'fclose' here 11 | fclose(fin); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:15:9: /usr/include/bits/stdio2.h:79:10: warning: pointer 'fin' 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':
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
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 Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 507 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 266 kb Incorect 0
19 1 ms 245 kb Incorect 0
20 1 ms 245 kb Incorect 0
21 1 ms 245 kb Incorect 0
22 1 ms 245 kb Incorect 0
23 1 ms 245 kb Incorect 0
24 1 ms 245 kb Incorect 0
25 1 ms 245 kb Incorect 0
26 1 ms 507 kb Incorect 0
27 1 ms 266 kb Incorect 0
28 1 ms 245 kb Incorect 0
29 1 ms 245 kb Incorect 0
30 1 ms 245 kb Incorect 0
Punctaj total 0