Pagini recente »
Borderou de evaluare (job #772338)
|
Borderou de evaluare (job #768580)
Borderou de evaluare (job #768580)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf( fin, "%d", &n );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf( fin, "%d", &x );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:28:5: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized]
28 | fprintf( fout, "%lld %d %d", max, stf + 1, dr + 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:5:19: note: 'dr' was declared here
5 | int n, i, st, dr, stf, x;
| ^~
main.c:28:5: warning: 'stf' may be used uninitialized [-Wmaybe-uninitialized]
28 | fprintf( fout, "%lld %d %d", max, stf + 1, dr + 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:5:23: note: 'stf' was declared here
5 | int n, i, st, dr, stf, x;
| ^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
|
5
|
1 ms
|
512 kb
|
OK
|
5
|
|
6
|
1 ms
|
249 kb
|
OK
|
5
|
|
7
|
9 ms
|
245 kb
|
OK
|
5
|
|
8
|
9 ms
|
249 kb
|
OK
|
5
|
|
9
|
39 ms
|
249 kb
|
OK
|
5
|
|
10
|
79 ms
|
249 kb
|
OK
|
5
|
|
11
|
289 ms
|
266 kb
|
OK
|
5
|
|
12
|
249 ms
|
249 kb
|
OK
|
5
|
|
13
|
339 ms
|
266 kb
|
OK
|
5
|
|
14
|
417 ms
|
245 kb
|
OK
|
5
|
|
15
|
1964 ms
|
249 kb
|
OK
|
5
|
|
16
|
2128 ms
|
245 kb
|
OK
|
5
|
|
17
|
2118 ms
|
249 kb
|
OK
|
5
|
|
18
|
2307 ms
|
270 kb
|
OK
|
5
|
|
19
|
2339 ms
|
270 kb
|
OK
|
5
|
|
20
|
2298 ms
|
249 kb
|
OK
|
5
|
|
Punctaj total
|
95
|