Pagini recente »
Borderou de evaluare (job #711275)
|
Borderou de evaluare (job #657550)
|
Borderou de evaluare (job #4583)
|
Borderou de evaluare (job #60249)
|
Borderou de evaluare (job #611041)
Borderou de evaluare (job #611041)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:65:30: warning: array subscript -1 is below array bounds of 'int [1003]' [-Warray-bounds]
65 | while((k = alegem(t[i]+1))==-1)
| ~~~^
main.cpp:10:5: note: while referencing 't'
10 | int t[maxx];
| ^
main.cpp:69:16: warning: array subscript -1 is below array bounds of 'int [1003]' [-Warray-bounds]
69 | a[sol[i]]++;
| ~~~~~^
main.cpp:11:5: note: while referencing 'sol'
11 | int sol[maxx];
| ^~~
main.cpp:70:8: warning: array subscript -1 is below array bounds of 'int [1003]' [-Warray-bounds]
70 | sol[i] = k;
| ~~~~~^
main.cpp:11:5: note: while referencing 'sol'
11 | int sol[maxx];
| ^~~
main.cpp:67:17: warning: array subscript -1 is below array bounds of 'int [1003]' [-Warray-bounds]
67 | a[sol[i]]++; i--;
| ~~~~~^
main.cpp:11:5: note: while referencing 'sol'
11 | int sol[maxx];
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
OK
|
5
|
3
|
1 ms
|
131 kb
|
OK
|
5
|
4
|
1 ms
|
131 kb
|
OK
|
5
|
5
|
1 ms
|
131 kb
|
OK
|
5
|
6
|
1 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
131 kb
|
Incorect
|
0
|
9
|
1 ms
|
131 kb
|
OK
|
5
|
10
|
1 ms
|
131 kb
|
Incorect
|
0
|
11
|
1 ms
|
131 kb
|
Incorect
|
0
|
12
|
1 ms
|
131 kb
|
Incorect
|
0
|
13
|
1 ms
|
262 kb
|
Incorect
|
0
|
14
|
1 ms
|
131 kb
|
Incorect
|
0
|
15
|
1 ms
|
131 kb
|
Incorect
|
0
|
16
|
1 ms
|
131 kb
|
Incorect
|
0
|
17
|
1 ms
|
131 kb
|
Incorect
|
0
|
18
|
1 ms
|
131 kb
|
Incorect
|
0
|
19
|
1 ms
|
131 kb
|
OK
|
5
|
20
|
1 ms
|
131 kb
|
OK
|
5
|
Punctaj total
|
35
|