Pagini recente »
Borderou de evaluare (job #679776)
Borderou de evaluare (job #679776)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:16: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | if (ap[ch].fl == 1) {
| ^~
main.cpp:21:28: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | sol -= (n - ap[ch].pos) * (ap[ch].pos + 1);
| ^~
main.cpp:21:43: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | sol -= (n - ap[ch].pos) * (ap[ch].pos + 1);
| ^~
main.cpp:22:16: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | ap[ch] = { -1, -1 };
| ^~
main.cpp:24:12: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | ap[ch] = { 1, n };
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
2 ms
|
114 kb
|
Incorect
|
0
|
6
|
17 ms
|
114 kb
|
Incorect
|
0
|
7
|
25 ms
|
118 kb
|
Incorect
|
0
|
8
|
43 ms
|
118 kb
|
Incorect
|
0
|
9
|
45 ms
|
118 kb
|
Incorect
|
0
|
10
|
53 ms
|
118 kb
|
Incorect
|
0
|
Punctaj total
|
10
|