Pagini recente »
Borderou de evaluare (job #182190)
|
Borderou de evaluare (job #826036)
Borderou de evaluare (job #826036)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf (fin, "%d%d", &c, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf (fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:28:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | fscanf (fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:96:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
96 | fscanf (fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:55:29: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
55 | else if (j != x - 1)
| ^
main.c:6:85: note: 'j' was declared here
6 | int c, n, i, ogl, nr, cnr, pal = 0, flag = 0, x = 0, put, newnr, cnn, palu = 0, j;
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
2 ms
|
245 kb
|
OK
|
5
|
|
4
|
1 ms
|
249 kb
|
OK
|
5
|
|
5
|
49 ms
|
249 kb
|
OK
|
5
|
|
6
|
59 ms
|
245 kb
|
OK
|
5
|
|
7
|
59 ms
|
245 kb
|
OK
|
5
|
|
8
|
59 ms
|
270 kb
|
OK
|
6
|
|
9
|
1 ms
|
245 kb
|
OK
|
2
|
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
12
|
2 ms
|
245 kb
|
Incorect
|
0
|
|
13
|
19 ms
|
507 kb
|
Incorect
|
0
|
|
14
|
169 ms
|
249 kb
|
Incorect
|
0
|
|
15
|
198 ms
|
249 kb
|
Incorect
|
0
|
|
16
|
1 ms
|
270 kb
|
Incorect
|
0
|
|
17
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
18
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
19
|
2 ms
|
249 kb
|
Incorect
|
0
|
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
21
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
22
|
2 ms
|
249 kb
|
Incorect
|
0
|
|
Punctaj total
|
43
|