Pagini recente »
Borderou de evaluare (job #807441)
Borderou de evaluare (job #807441)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:25:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin, "%d%d%d", &p, &k, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf(fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:23:28: warning: 'max1' may be used uninitialized [-Wmaybe-uninitialized]
23 | int p, k, n, nr, i, j, max1, max2, max3, np, ni;
| ^~~~
main.c:33:23: warning: 'max2' may be used uninitialized [-Wmaybe-uninitialized]
33 | } else if (nr >= max2) {
| ^
main.c:23:34: note: 'max2' was declared here
23 | int p, k, n, nr, i, j, max1, max2, max3, np, ni;
| ^~~~
main.c:29:16: warning: 'max3' may be used uninitialized [-Wmaybe-uninitialized]
29 | if (nr >= max3) {
| ^
main.c:23:40: note: 'max3' was declared here
23 | int p, k, n, nr, i, j, max1, max2, max3, np, ni;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
3
|
39 ms
|
512 kb
|
Incorect
|
0
|
|
4
|
39 ms
|
249 kb
|
Incorect
|
0
|
|
5
|
49 ms
|
245 kb
|
Incorect
|
0
|
|
6
|
49 ms
|
512 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
503 kb
|
OK
|
5
|
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
|
13
|
1 ms
|
507 kb
|
OK
|
5
|
|
14
|
1 ms
|
241 kb
|
OK
|
5
|
|
15
|
1 ms
|
245 kb
|
OK
|
5
|
|
16
|
1 ms
|
245 kb
|
OK
|
5
|
|
17
|
48 ms
|
512 kb
|
Incorect
|
0
|
|
18
|
39 ms
|
270 kb
|
Incorect
|
0
|
|
19
|
1 ms
|
266 kb
|
Incorect
|
0
|
|
20
|
49 ms
|
245 kb
|
Incorect
|
0
|
|
Punctaj total
|
30
|