Pagini recente »
Borderou de evaluare (job #789059)
Borderou de evaluare (job #789059)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d%d%d%d%d ", &c, &y, &x, &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:29:15: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | fscanf(fin, "%d", &m);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:31:15: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | fscanf(fin, "%d ", &s);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:49:27: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
49 | for(col=0;pilot[p][col]!=0;col++)
| ~~~~~~~~^~~~~
main.c:10:43: note: 'p' was declared here
10 | int c, y, x, n, k, i, m, s, max, min, p, col, j, u, pc;
| ^
main.c:53:32: warning: 'pc' may be used uninitialized [-Wmaybe-uninitialized]
53 | for(col=0;pilot[pc][col]!=0;col++)
| ~~~~~~~~~^~~~~
main.c:10:57: note: 'pc' was declared here
10 | int c, y, x, n, k, i, m, s, max, min, p, col, j, u, pc;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
129 ms
|
249 kb
|
OK
|
5
|
4
|
459 ms
|
245 kb
|
OK
|
5
|
5
|
479 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
8
|
99 ms
|
249 kb
|
OK
|
5
|
9
|
99 ms
|
249 kb
|
OK
|
5
|
10
|
109 ms
|
249 kb
|
OK
|
5
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
249 kb
|
OK
|
5
|
13
|
1 ms
|
507 kb
|
OK
|
5
|
14
|
59 ms
|
245 kb
|
Incorect
|
0
|
15
|
49 ms
|
249 kb
|
Incorect
|
0
|
16
|
39 ms
|
507 kb
|
Incorect
|
0
|
17
|
459 ms
|
249 kb
|
Incorect
|
0
|
18
|
9 ms
|
507 kb
|
OK
|
5
|
19
|
89 ms
|
245 kb
|
OK
|
5
|
20
|
559 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
75
|