Pagini recente »
Borderou de evaluare (job #511316)
|
Borderou de evaluare (job #147832)
|
Borderou de evaluare (job #644486)
|
Borderou de evaluare (job #117873)
|
Borderou de evaluare (job #845323)
Borderou de evaluare (job #845323)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:4:17: warning: variable 'fout' set but not used [-Wunused-but-set-variable]
4 | FILE *fin, *fout;
| ^~~~
main.c:7:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | fscanf (fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:29:3: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
29 | fclose (fin);
| ^~~~~~~~~~~~
main.c:8:5: note: call to 'fclose' here
8 | fclose (fin);
| ^~~~~~~~~~~~
main.c:24:5: warning: pointer 'fin' may be used after 'fclose' [-Wuse-after-free]
24 | fprintf(fin, "da");
| ^~~~~~~~~~~~~~~~~~
main.c:8:5: note: call to 'fclose' here
8 | fclose (fin);
| ^~~~~~~~~~~~
main.c:27:5: warning: pointer 'fin' may be used after 'fclose' [-Wuse-after-free]
27 | fprintf(fin, "nu");
| ^~~~~~~~~~~~~~~~~~
main.c:8:5: note: call to 'fclose' here
8 | fclose (fin);
| ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:27:5:
/usr/include/bits/stdio2.h:111:10: warning: pointer 'fin' may be 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:8:5: note: call to 'fclose' here
8 | fclose (fin);
| ^~~~~~~~~~~~
In function 'fprintf',
inlined from 'main' at main.c:24:5:
/usr/include/bits/stdio2.h:111:10: warning: pointer 'fin' may be 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:8:5: note: call to 'fclose' here
8 | fclose (fin);
| ^~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
Punctaj/grupă |
|
1
|
1 ms
|
508 kb
|
Incorect
|
0
|
0
|
|
2
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
3
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
4
|
depășit
|
292 kb
|
Time limit exceeded.
|
0
|
|
5
|
0 ms
|
292 kb
|
Incorect
|
0
|
0
|
|
6
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
7
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
8
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
9
|
0 ms
|
292 kb
|
Incorect
|
0
|
0
|
|
10
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
11
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
12
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
13
|
0 ms
|
292 kb
|
Incorect
|
0
|
0
|
|
14
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
15
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
16
|
1 ms
|
292 kb
|
Incorect
|
0
|
|
17
|
33 ms
|
508 kb
|
Incorect
|
0
|
0
|
|
18
|
35 ms
|
508 kb
|
Incorect
|
0
|
|
19
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
20
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|