#include <bits/stdc++.h>
using namespace std;
#define int long long
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define foru(i, l, r) for(int i = l; i <= r; i++)
#define ford(i, r, l) for(int i = r; i >= l; i--)
#define __TIME (1.0 * clock() / CLOCKS_PER_SEC)
typedef pair<int, int> ii;
typedef pair<ii, int> iii;
typedef pair<ii, ii> iiii;
const int N = 1e6 + 5;
const int oo = 1e18, mod = 1e6 + 3;
int n, m, k, h[N];
map<int, vector<int>> add, del;
set<int> s;
int nodes[N];
void build(int id, int l, int r) {
if (l == r) {
nodes[id] = h[l];
return;
}
int mid = (l + r) >> 1;
build(id << 1, l, mid);
build(id << 1 | 1, mid + 1, r);
nodes[id] = min(nodes[id << 1], nodes[id << 1 | 1]);
}
void update(int id, int l, int r, int pos) {
if (l == r) {
nodes[id] = oo;
return;
}
int mid = (l + r) >> 1;
if (pos <= mid) update(id << 1, l, mid, pos);
else update(id << 1 | 1, mid + 1, r, pos);
nodes[id] = min(nodes[id << 1], nodes[id << 1 | 1]);
}
int get(int id, int l, int r, int u, int v) {
if (u > r || v < l /*|| l>r || u>v*/) return oo;
if (l >= u && r <= v) return nodes[id];
int mid = (l + r) >> 1;
return min(get(id << 1, l, mid, u, v), get(id << 1 | 1, mid + 1, r, u, v));
}
int calc(int l, int r) {
if (s.empty()) return 0;
int res = 0;
int x = *s.begin(), y = *s.rbegin();
int lx = get(1, 1, n, 1, x), ry = get(1, 1, n, y, n);
int sum = ((r - l) * (l + r - 1) / 2) % mod;
if (x == y) return ((lx + ry) * (r - l) + sum) % mod;
int add = lx + ry + r;
res = (res + add * (r - l)) % mod;
int sz = (int)s.size();
res = ((res + (3 * sum + 2 * (r - l)) * (sz - 1) - (r - l)) % mod + mod) % mod;
return res;
}
void process() {
cin >> n;
foru(i, 1, n) {
cin >> h[i];
add[h[i]].pb(i);
}
build(1, 1, n);
int p = max_element(h + 1, h + n + 1) - h;
foru(i, 1, p) h[i] = max(h[i], h[i - 1]);
ford(i, n, p) h[i] = max(h[i], h[i + 1]);
foru(i, 1, n) del[h[i]].push_back(i);
int pre = -1, ans = 0;
for (auto &it : add) {
if (pre != -1) ans = (ans + calc(pre, it.fi)) % mod;
for (int x : it.se) {
s.insert(x);
update(1, 1, n, x);
}
for (int x : del[it.fi]) s.erase(x);
pre = it.fi;
}
cout << ans << '\n';
return;
}
signed main() {
cin.tie(0)->sync_with_stdio(false);
//freopen(".inp", "r", stdin);
//freopen(".out", "w", stdout);
process();
cerr << "Time elapsed: " << __TIME << " s.\n";
return 0;
}
/*
Xét các trường hợp đặc biệt
Kiểm tra lại input/output
Cố gắng trâu
Lật ngược bài toán
Keep calm and get VOI
Flow:
*/
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
2504 KB |
Output is correct |
2 |
Correct |
1 ms |
2396 KB |
Output is correct |
3 |
Correct |
1 ms |
2396 KB |
Output is correct |
4 |
Correct |
2 ms |
2908 KB |
Output is correct |
5 |
Correct |
2 ms |
2908 KB |
Output is correct |
6 |
Correct |
2 ms |
2908 KB |
Output is correct |
7 |
Correct |
3 ms |
2908 KB |
Output is correct |
8 |
Correct |
3 ms |
2908 KB |
Output is correct |
9 |
Correct |
3 ms |
2648 KB |
Output is correct |
10 |
Correct |
2 ms |
2652 KB |
Output is correct |
11 |
Correct |
2 ms |
2908 KB |
Output is correct |
12 |
Correct |
3 ms |
3160 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
2504 KB |
Output is correct |
2 |
Correct |
1 ms |
2396 KB |
Output is correct |
3 |
Correct |
1 ms |
2396 KB |
Output is correct |
4 |
Correct |
2 ms |
2908 KB |
Output is correct |
5 |
Correct |
2 ms |
2908 KB |
Output is correct |
6 |
Correct |
2 ms |
2908 KB |
Output is correct |
7 |
Correct |
3 ms |
2908 KB |
Output is correct |
8 |
Correct |
3 ms |
2908 KB |
Output is correct |
9 |
Correct |
3 ms |
2648 KB |
Output is correct |
10 |
Correct |
2 ms |
2652 KB |
Output is correct |
11 |
Correct |
2 ms |
2908 KB |
Output is correct |
12 |
Correct |
3 ms |
3160 KB |
Output is correct |
13 |
Correct |
2 ms |
2904 KB |
Output is correct |
14 |
Correct |
1 ms |
2396 KB |
Output is correct |
15 |
Correct |
1 ms |
2396 KB |
Output is correct |
16 |
Correct |
2 ms |
2852 KB |
Output is correct |
17 |
Correct |
3 ms |
2908 KB |
Output is correct |
18 |
Correct |
3 ms |
2908 KB |
Output is correct |
19 |
Correct |
4 ms |
2908 KB |
Output is correct |
20 |
Correct |
3 ms |
2908 KB |
Output is correct |
21 |
Correct |
2 ms |
2908 KB |
Output is correct |
22 |
Correct |
2 ms |
2908 KB |
Output is correct |
23 |
Correct |
3 ms |
2908 KB |
Output is correct |
24 |
Correct |
3 ms |
2972 KB |
Output is correct |
25 |
Correct |
2 ms |
2908 KB |
Output is correct |
26 |
Correct |
3 ms |
2908 KB |
Output is correct |
27 |
Correct |
3 ms |
2908 KB |
Output is correct |
28 |
Correct |
3 ms |
2908 KB |
Output is correct |
29 |
Correct |
1 ms |
2396 KB |
Output is correct |
30 |
Correct |
1 ms |
2396 KB |
Output is correct |
31 |
Correct |
1 ms |
2392 KB |
Output is correct |
32 |
Correct |
1 ms |
2392 KB |
Output is correct |
33 |
Correct |
1 ms |
2396 KB |
Output is correct |
34 |
Correct |
1 ms |
2396 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
2504 KB |
Output is correct |
2 |
Correct |
1 ms |
2396 KB |
Output is correct |
3 |
Correct |
1 ms |
2396 KB |
Output is correct |
4 |
Correct |
2 ms |
2908 KB |
Output is correct |
5 |
Correct |
2 ms |
2908 KB |
Output is correct |
6 |
Correct |
2 ms |
2908 KB |
Output is correct |
7 |
Correct |
3 ms |
2908 KB |
Output is correct |
8 |
Correct |
3 ms |
2908 KB |
Output is correct |
9 |
Correct |
3 ms |
2648 KB |
Output is correct |
10 |
Correct |
2 ms |
2652 KB |
Output is correct |
11 |
Correct |
2 ms |
2908 KB |
Output is correct |
12 |
Correct |
3 ms |
3160 KB |
Output is correct |
13 |
Correct |
2 ms |
2904 KB |
Output is correct |
14 |
Correct |
1 ms |
2396 KB |
Output is correct |
15 |
Correct |
1 ms |
2396 KB |
Output is correct |
16 |
Correct |
2 ms |
2852 KB |
Output is correct |
17 |
Correct |
3 ms |
2908 KB |
Output is correct |
18 |
Correct |
3 ms |
2908 KB |
Output is correct |
19 |
Correct |
4 ms |
2908 KB |
Output is correct |
20 |
Correct |
3 ms |
2908 KB |
Output is correct |
21 |
Correct |
2 ms |
2908 KB |
Output is correct |
22 |
Correct |
2 ms |
2908 KB |
Output is correct |
23 |
Correct |
3 ms |
2908 KB |
Output is correct |
24 |
Correct |
3 ms |
2972 KB |
Output is correct |
25 |
Correct |
2 ms |
2908 KB |
Output is correct |
26 |
Correct |
3 ms |
2908 KB |
Output is correct |
27 |
Correct |
3 ms |
2908 KB |
Output is correct |
28 |
Correct |
3 ms |
2908 KB |
Output is correct |
29 |
Correct |
1 ms |
2396 KB |
Output is correct |
30 |
Correct |
1 ms |
2396 KB |
Output is correct |
31 |
Correct |
1 ms |
2392 KB |
Output is correct |
32 |
Correct |
1 ms |
2392 KB |
Output is correct |
33 |
Correct |
1 ms |
2396 KB |
Output is correct |
34 |
Correct |
1 ms |
2396 KB |
Output is correct |
35 |
Correct |
5 ms |
3676 KB |
Output is correct |
36 |
Correct |
5 ms |
3676 KB |
Output is correct |
37 |
Correct |
7 ms |
3676 KB |
Output is correct |
38 |
Correct |
5 ms |
3676 KB |
Output is correct |
39 |
Correct |
7 ms |
3856 KB |
Output is correct |
40 |
Correct |
3 ms |
2908 KB |
Output is correct |
41 |
Correct |
2 ms |
2776 KB |
Output is correct |
42 |
Correct |
3 ms |
2908 KB |
Output is correct |
43 |
Correct |
6 ms |
3676 KB |
Output is correct |
44 |
Correct |
7 ms |
3676 KB |
Output is correct |
45 |
Correct |
5 ms |
3676 KB |
Output is correct |
46 |
Correct |
5 ms |
3676 KB |
Output is correct |
47 |
Correct |
5 ms |
3852 KB |
Output is correct |
48 |
Correct |
7 ms |
3676 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
2504 KB |
Output is correct |
2 |
Correct |
1 ms |
2396 KB |
Output is correct |
3 |
Correct |
1 ms |
2396 KB |
Output is correct |
4 |
Correct |
2 ms |
2908 KB |
Output is correct |
5 |
Correct |
2 ms |
2908 KB |
Output is correct |
6 |
Correct |
2 ms |
2908 KB |
Output is correct |
7 |
Correct |
3 ms |
2908 KB |
Output is correct |
8 |
Correct |
3 ms |
2908 KB |
Output is correct |
9 |
Correct |
3 ms |
2648 KB |
Output is correct |
10 |
Correct |
2 ms |
2652 KB |
Output is correct |
11 |
Correct |
2 ms |
2908 KB |
Output is correct |
12 |
Correct |
3 ms |
3160 KB |
Output is correct |
13 |
Correct |
2 ms |
2904 KB |
Output is correct |
14 |
Correct |
1 ms |
2396 KB |
Output is correct |
15 |
Correct |
1 ms |
2396 KB |
Output is correct |
16 |
Correct |
2 ms |
2852 KB |
Output is correct |
17 |
Correct |
3 ms |
2908 KB |
Output is correct |
18 |
Correct |
3 ms |
2908 KB |
Output is correct |
19 |
Correct |
4 ms |
2908 KB |
Output is correct |
20 |
Correct |
3 ms |
2908 KB |
Output is correct |
21 |
Correct |
2 ms |
2908 KB |
Output is correct |
22 |
Correct |
2 ms |
2908 KB |
Output is correct |
23 |
Correct |
3 ms |
2908 KB |
Output is correct |
24 |
Correct |
3 ms |
2972 KB |
Output is correct |
25 |
Correct |
2 ms |
2908 KB |
Output is correct |
26 |
Correct |
3 ms |
2908 KB |
Output is correct |
27 |
Correct |
3 ms |
2908 KB |
Output is correct |
28 |
Correct |
3 ms |
2908 KB |
Output is correct |
29 |
Correct |
1 ms |
2396 KB |
Output is correct |
30 |
Correct |
1 ms |
2396 KB |
Output is correct |
31 |
Correct |
1 ms |
2392 KB |
Output is correct |
32 |
Correct |
1 ms |
2392 KB |
Output is correct |
33 |
Correct |
1 ms |
2396 KB |
Output is correct |
34 |
Correct |
1 ms |
2396 KB |
Output is correct |
35 |
Correct |
5 ms |
3676 KB |
Output is correct |
36 |
Correct |
5 ms |
3676 KB |
Output is correct |
37 |
Correct |
7 ms |
3676 KB |
Output is correct |
38 |
Correct |
5 ms |
3676 KB |
Output is correct |
39 |
Correct |
7 ms |
3856 KB |
Output is correct |
40 |
Correct |
3 ms |
2908 KB |
Output is correct |
41 |
Correct |
2 ms |
2776 KB |
Output is correct |
42 |
Correct |
3 ms |
2908 KB |
Output is correct |
43 |
Correct |
6 ms |
3676 KB |
Output is correct |
44 |
Correct |
7 ms |
3676 KB |
Output is correct |
45 |
Correct |
5 ms |
3676 KB |
Output is correct |
46 |
Correct |
5 ms |
3676 KB |
Output is correct |
47 |
Correct |
5 ms |
3852 KB |
Output is correct |
48 |
Correct |
7 ms |
3676 KB |
Output is correct |
49 |
Correct |
8 ms |
3676 KB |
Output is correct |
50 |
Correct |
6 ms |
3676 KB |
Output is correct |
51 |
Correct |
7 ms |
3816 KB |
Output is correct |
52 |
Correct |
5 ms |
3932 KB |
Output is correct |
53 |
Correct |
8 ms |
3848 KB |
Output is correct |
54 |
Correct |
2 ms |
2908 KB |
Output is correct |
55 |
Correct |
3 ms |
2984 KB |
Output is correct |
56 |
Correct |
2 ms |
2788 KB |
Output is correct |
57 |
Correct |
7 ms |
3676 KB |
Output is correct |
58 |
Correct |
7 ms |
3676 KB |
Output is correct |
59 |
Correct |
7 ms |
3824 KB |
Output is correct |
60 |
Correct |
5 ms |
3932 KB |
Output is correct |
61 |
Correct |
5 ms |
3676 KB |
Output is correct |
62 |
Correct |
6 ms |
3676 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
2504 KB |
Output is correct |
2 |
Correct |
1 ms |
2396 KB |
Output is correct |
3 |
Correct |
1 ms |
2396 KB |
Output is correct |
4 |
Correct |
2 ms |
2908 KB |
Output is correct |
5 |
Correct |
2 ms |
2908 KB |
Output is correct |
6 |
Correct |
2 ms |
2908 KB |
Output is correct |
7 |
Correct |
3 ms |
2908 KB |
Output is correct |
8 |
Correct |
3 ms |
2908 KB |
Output is correct |
9 |
Correct |
3 ms |
2648 KB |
Output is correct |
10 |
Correct |
2 ms |
2652 KB |
Output is correct |
11 |
Correct |
2 ms |
2908 KB |
Output is correct |
12 |
Correct |
3 ms |
3160 KB |
Output is correct |
13 |
Correct |
2 ms |
2904 KB |
Output is correct |
14 |
Correct |
1 ms |
2396 KB |
Output is correct |
15 |
Correct |
1 ms |
2396 KB |
Output is correct |
16 |
Correct |
2 ms |
2852 KB |
Output is correct |
17 |
Correct |
3 ms |
2908 KB |
Output is correct |
18 |
Correct |
3 ms |
2908 KB |
Output is correct |
19 |
Correct |
4 ms |
2908 KB |
Output is correct |
20 |
Correct |
3 ms |
2908 KB |
Output is correct |
21 |
Correct |
2 ms |
2908 KB |
Output is correct |
22 |
Correct |
2 ms |
2908 KB |
Output is correct |
23 |
Correct |
3 ms |
2908 KB |
Output is correct |
24 |
Correct |
3 ms |
2972 KB |
Output is correct |
25 |
Correct |
2 ms |
2908 KB |
Output is correct |
26 |
Correct |
3 ms |
2908 KB |
Output is correct |
27 |
Correct |
3 ms |
2908 KB |
Output is correct |
28 |
Correct |
3 ms |
2908 KB |
Output is correct |
29 |
Correct |
1 ms |
2396 KB |
Output is correct |
30 |
Correct |
1 ms |
2396 KB |
Output is correct |
31 |
Correct |
1 ms |
2392 KB |
Output is correct |
32 |
Correct |
1 ms |
2392 KB |
Output is correct |
33 |
Correct |
1 ms |
2396 KB |
Output is correct |
34 |
Correct |
1 ms |
2396 KB |
Output is correct |
35 |
Runtime error |
103 ms |
58196 KB |
Execution killed with signal 11 |
36 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
2504 KB |
Output is correct |
2 |
Correct |
1 ms |
2396 KB |
Output is correct |
3 |
Correct |
1 ms |
2396 KB |
Output is correct |
4 |
Correct |
2 ms |
2908 KB |
Output is correct |
5 |
Correct |
2 ms |
2908 KB |
Output is correct |
6 |
Correct |
2 ms |
2908 KB |
Output is correct |
7 |
Correct |
3 ms |
2908 KB |
Output is correct |
8 |
Correct |
3 ms |
2908 KB |
Output is correct |
9 |
Correct |
3 ms |
2648 KB |
Output is correct |
10 |
Correct |
2 ms |
2652 KB |
Output is correct |
11 |
Correct |
2 ms |
2908 KB |
Output is correct |
12 |
Correct |
3 ms |
3160 KB |
Output is correct |
13 |
Correct |
2 ms |
2904 KB |
Output is correct |
14 |
Correct |
1 ms |
2396 KB |
Output is correct |
15 |
Correct |
1 ms |
2396 KB |
Output is correct |
16 |
Correct |
2 ms |
2852 KB |
Output is correct |
17 |
Correct |
3 ms |
2908 KB |
Output is correct |
18 |
Correct |
3 ms |
2908 KB |
Output is correct |
19 |
Correct |
4 ms |
2908 KB |
Output is correct |
20 |
Correct |
3 ms |
2908 KB |
Output is correct |
21 |
Correct |
2 ms |
2908 KB |
Output is correct |
22 |
Correct |
2 ms |
2908 KB |
Output is correct |
23 |
Correct |
3 ms |
2908 KB |
Output is correct |
24 |
Correct |
3 ms |
2972 KB |
Output is correct |
25 |
Correct |
2 ms |
2908 KB |
Output is correct |
26 |
Correct |
3 ms |
2908 KB |
Output is correct |
27 |
Correct |
3 ms |
2908 KB |
Output is correct |
28 |
Correct |
3 ms |
2908 KB |
Output is correct |
29 |
Correct |
1 ms |
2396 KB |
Output is correct |
30 |
Correct |
1 ms |
2396 KB |
Output is correct |
31 |
Correct |
1 ms |
2392 KB |
Output is correct |
32 |
Correct |
1 ms |
2392 KB |
Output is correct |
33 |
Correct |
1 ms |
2396 KB |
Output is correct |
34 |
Correct |
1 ms |
2396 KB |
Output is correct |
35 |
Correct |
5 ms |
3676 KB |
Output is correct |
36 |
Correct |
5 ms |
3676 KB |
Output is correct |
37 |
Correct |
7 ms |
3676 KB |
Output is correct |
38 |
Correct |
5 ms |
3676 KB |
Output is correct |
39 |
Correct |
7 ms |
3856 KB |
Output is correct |
40 |
Correct |
3 ms |
2908 KB |
Output is correct |
41 |
Correct |
2 ms |
2776 KB |
Output is correct |
42 |
Correct |
3 ms |
2908 KB |
Output is correct |
43 |
Correct |
6 ms |
3676 KB |
Output is correct |
44 |
Correct |
7 ms |
3676 KB |
Output is correct |
45 |
Correct |
5 ms |
3676 KB |
Output is correct |
46 |
Correct |
5 ms |
3676 KB |
Output is correct |
47 |
Correct |
5 ms |
3852 KB |
Output is correct |
48 |
Correct |
7 ms |
3676 KB |
Output is correct |
49 |
Runtime error |
103 ms |
58196 KB |
Execution killed with signal 11 |
50 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
2504 KB |
Output is correct |
2 |
Correct |
1 ms |
2396 KB |
Output is correct |
3 |
Correct |
1 ms |
2396 KB |
Output is correct |
4 |
Correct |
2 ms |
2908 KB |
Output is correct |
5 |
Correct |
2 ms |
2908 KB |
Output is correct |
6 |
Correct |
2 ms |
2908 KB |
Output is correct |
7 |
Correct |
3 ms |
2908 KB |
Output is correct |
8 |
Correct |
3 ms |
2908 KB |
Output is correct |
9 |
Correct |
3 ms |
2648 KB |
Output is correct |
10 |
Correct |
2 ms |
2652 KB |
Output is correct |
11 |
Correct |
2 ms |
2908 KB |
Output is correct |
12 |
Correct |
3 ms |
3160 KB |
Output is correct |
13 |
Correct |
2 ms |
2904 KB |
Output is correct |
14 |
Correct |
1 ms |
2396 KB |
Output is correct |
15 |
Correct |
1 ms |
2396 KB |
Output is correct |
16 |
Correct |
2 ms |
2852 KB |
Output is correct |
17 |
Correct |
3 ms |
2908 KB |
Output is correct |
18 |
Correct |
3 ms |
2908 KB |
Output is correct |
19 |
Correct |
4 ms |
2908 KB |
Output is correct |
20 |
Correct |
3 ms |
2908 KB |
Output is correct |
21 |
Correct |
2 ms |
2908 KB |
Output is correct |
22 |
Correct |
2 ms |
2908 KB |
Output is correct |
23 |
Correct |
3 ms |
2908 KB |
Output is correct |
24 |
Correct |
3 ms |
2972 KB |
Output is correct |
25 |
Correct |
2 ms |
2908 KB |
Output is correct |
26 |
Correct |
3 ms |
2908 KB |
Output is correct |
27 |
Correct |
3 ms |
2908 KB |
Output is correct |
28 |
Correct |
3 ms |
2908 KB |
Output is correct |
29 |
Correct |
1 ms |
2396 KB |
Output is correct |
30 |
Correct |
1 ms |
2396 KB |
Output is correct |
31 |
Correct |
1 ms |
2392 KB |
Output is correct |
32 |
Correct |
1 ms |
2392 KB |
Output is correct |
33 |
Correct |
1 ms |
2396 KB |
Output is correct |
34 |
Correct |
1 ms |
2396 KB |
Output is correct |
35 |
Correct |
5 ms |
3676 KB |
Output is correct |
36 |
Correct |
5 ms |
3676 KB |
Output is correct |
37 |
Correct |
7 ms |
3676 KB |
Output is correct |
38 |
Correct |
5 ms |
3676 KB |
Output is correct |
39 |
Correct |
7 ms |
3856 KB |
Output is correct |
40 |
Correct |
3 ms |
2908 KB |
Output is correct |
41 |
Correct |
2 ms |
2776 KB |
Output is correct |
42 |
Correct |
3 ms |
2908 KB |
Output is correct |
43 |
Correct |
6 ms |
3676 KB |
Output is correct |
44 |
Correct |
7 ms |
3676 KB |
Output is correct |
45 |
Correct |
5 ms |
3676 KB |
Output is correct |
46 |
Correct |
5 ms |
3676 KB |
Output is correct |
47 |
Correct |
5 ms |
3852 KB |
Output is correct |
48 |
Correct |
7 ms |
3676 KB |
Output is correct |
49 |
Correct |
8 ms |
3676 KB |
Output is correct |
50 |
Correct |
6 ms |
3676 KB |
Output is correct |
51 |
Correct |
7 ms |
3816 KB |
Output is correct |
52 |
Correct |
5 ms |
3932 KB |
Output is correct |
53 |
Correct |
8 ms |
3848 KB |
Output is correct |
54 |
Correct |
2 ms |
2908 KB |
Output is correct |
55 |
Correct |
3 ms |
2984 KB |
Output is correct |
56 |
Correct |
2 ms |
2788 KB |
Output is correct |
57 |
Correct |
7 ms |
3676 KB |
Output is correct |
58 |
Correct |
7 ms |
3676 KB |
Output is correct |
59 |
Correct |
7 ms |
3824 KB |
Output is correct |
60 |
Correct |
5 ms |
3932 KB |
Output is correct |
61 |
Correct |
5 ms |
3676 KB |
Output is correct |
62 |
Correct |
6 ms |
3676 KB |
Output is correct |
63 |
Runtime error |
103 ms |
58196 KB |
Execution killed with signal 11 |
64 |
Halted |
0 ms |
0 KB |
- |