답안 #256804

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
256804 2020-08-03T08:39:57 Z Bruteforceman Arcade (NOI20_arcade) C++11
18 / 100
10 ms 12160 KB
#include <bits/stdc++.h>
using namespace std;
const int maxn = 5e5 + 10;
int dp[maxn];
int a[maxn], t[maxn];
int bit[maxn];
int n, m;

struct node {
  int idx;
  int x, y;
  node (int idx, int x, int y) : idx(idx), x(x), y(y) {}
  node () {}
  bool operator < (node p) const {
    return x < p.x;
  }
};
vector <node> v[maxn];

void update(int x, int val) {
  for(int i = x + 1; i <= m; i++) {
    bit[i] = max(bit[i], val);  
  }
}
int query(int x) {
  int ans = bit[x];
  return ans;
}

void solve(int l, int r) {
  if(l == r) return ;
  int mid = (l + r) >> 1;
  solve(l, mid);
  vector <node> left, right;
  for(int i = l; i <= mid; i++) {
    for(auto j : v[i]) left.push_back(j);
  }
  for(int i = mid + 1; i <= r; i++) {
    for(auto j : v[i]) right.push_back(j);
  }
  sort(left.begin(), left.end());
  sort(right.begin(), right.end());
  int pt = 0;
  for(auto i : right) {
    while(pt < left.size() && left[pt].x < i.x) {
      update(left[pt].y, dp[left[pt].idx]);
      ++pt;
    }
    dp[i.idx] = max(dp[i.idx], 1 + query(i.y));
  }
  for(int i = 0; i <= m; i++) bit[i] = 0;
  left.clear();
  right.clear();
  solve(mid + 1, r);
}
int main() {
  scanf("%d %d", &n, &m);
  for(int i = 0; i < m; i++) {
    scanf("%d", &t[i]);
  }
  map <int, int> cmp, cmpY;
  for(int i = 0; i < m; i++) {
    scanf("%d", &a[i]);
    cmp[a[i]];
    cmpY[a[i] - t[i]];
  }
  int idx = 0;
  for(auto &i : cmp) {
    i.second = ++idx;
  }
  int idY = 0;
  for(auto &i : cmpY) {
    i.second = ++idY;
  }
  for(int i = 0; i < m; i++) {
    v[cmp[a[i]]].emplace_back(i, a[i] + t[i], cmpY[a[i] - t[i]]);
  }
  solve(1, m);
  printf("%d\n", *max_element(dp, dp + m));
  return 0;
}

Compilation message

Arcade.cpp: In function 'void solve(int, int)':
Arcade.cpp:45:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(pt < left.size() && left[pt].x < i.x) {
           ~~~^~~~~~~~~~~~~
Arcade.cpp: In function 'int main()':
Arcade.cpp:57:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d %d", &n, &m);
   ~~~~~^~~~~~~~~~~~~~~~~
Arcade.cpp:59:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &t[i]);
     ~~~~~^~~~~~~~~~~~~
Arcade.cpp:63:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &a[i]);
     ~~~~~^~~~~~~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 12160 KB Output is correct
2 Correct 8 ms 12032 KB Output is correct
3 Correct 8 ms 12032 KB Output is correct
4 Correct 8 ms 12032 KB Output is correct
5 Correct 8 ms 12032 KB Output is correct
6 Correct 10 ms 12032 KB Output is correct
7 Correct 8 ms 12032 KB Output is correct
8 Correct 8 ms 12032 KB Output is correct
9 Correct 8 ms 12032 KB Output is correct
10 Correct 8 ms 12032 KB Output is correct
11 Correct 8 ms 12032 KB Output is correct
12 Correct 9 ms 12032 KB Output is correct
13 Correct 8 ms 12032 KB Output is correct
14 Correct 8 ms 12032 KB Output is correct
15 Correct 7 ms 12032 KB Output is correct
16 Correct 9 ms 12032 KB Output is correct
17 Correct 8 ms 12032 KB Output is correct
18 Correct 7 ms 12032 KB Output is correct
19 Correct 8 ms 12032 KB Output is correct
20 Correct 7 ms 12032 KB Output is correct
21 Correct 8 ms 12032 KB Output is correct
22 Correct 7 ms 12100 KB Output is correct
23 Correct 7 ms 12032 KB Output is correct
24 Correct 7 ms 12032 KB Output is correct
25 Correct 7 ms 12032 KB Output is correct
26 Correct 8 ms 12032 KB Output is correct
27 Correct 8 ms 12032 KB Output is correct
28 Correct 7 ms 12160 KB Output is correct
29 Correct 7 ms 12032 KB Output is correct
30 Correct 8 ms 12032 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 12160 KB Output is correct
2 Correct 8 ms 12032 KB Output is correct
3 Correct 8 ms 12032 KB Output is correct
4 Correct 8 ms 12032 KB Output is correct
5 Correct 8 ms 12032 KB Output is correct
6 Correct 10 ms 12032 KB Output is correct
7 Correct 8 ms 12032 KB Output is correct
8 Correct 8 ms 12032 KB Output is correct
9 Correct 8 ms 12032 KB Output is correct
10 Correct 8 ms 12032 KB Output is correct
11 Correct 8 ms 12032 KB Output is correct
12 Correct 9 ms 12032 KB Output is correct
13 Correct 8 ms 12032 KB Output is correct
14 Correct 8 ms 12032 KB Output is correct
15 Correct 7 ms 12032 KB Output is correct
16 Correct 9 ms 12032 KB Output is correct
17 Correct 8 ms 12032 KB Output is correct
18 Correct 7 ms 12032 KB Output is correct
19 Correct 8 ms 12032 KB Output is correct
20 Correct 7 ms 12032 KB Output is correct
21 Correct 8 ms 12032 KB Output is correct
22 Correct 7 ms 12100 KB Output is correct
23 Correct 7 ms 12032 KB Output is correct
24 Correct 7 ms 12032 KB Output is correct
25 Correct 7 ms 12032 KB Output is correct
26 Correct 8 ms 12032 KB Output is correct
27 Correct 8 ms 12032 KB Output is correct
28 Correct 7 ms 12160 KB Output is correct
29 Correct 7 ms 12032 KB Output is correct
30 Correct 8 ms 12032 KB Output is correct
31 Correct 7 ms 12032 KB Output is correct
32 Correct 7 ms 12032 KB Output is correct
33 Correct 8 ms 12032 KB Output is correct
34 Correct 8 ms 12032 KB Output is correct
35 Correct 7 ms 12032 KB Output is correct
36 Correct 7 ms 12032 KB Output is correct
37 Correct 7 ms 12032 KB Output is correct
38 Correct 7 ms 12032 KB Output is correct
39 Correct 7 ms 12032 KB Output is correct
40 Correct 7 ms 12140 KB Output is correct
41 Correct 7 ms 12032 KB Output is correct
42 Correct 9 ms 12032 KB Output is correct
43 Correct 8 ms 12032 KB Output is correct
44 Correct 9 ms 12032 KB Output is correct
45 Correct 9 ms 12032 KB Output is correct
46 Correct 9 ms 12032 KB Output is correct
47 Correct 8 ms 12032 KB Output is correct
48 Correct 9 ms 12032 KB Output is correct
49 Correct 7 ms 12032 KB Output is correct
50 Correct 7 ms 12032 KB Output is correct
51 Correct 8 ms 12032 KB Output is correct
52 Correct 8 ms 12032 KB Output is correct
53 Correct 8 ms 12032 KB Output is correct
54 Correct 7 ms 12032 KB Output is correct
55 Correct 7 ms 12032 KB Output is correct
56 Correct 8 ms 12032 KB Output is correct
57 Correct 8 ms 12032 KB Output is correct
58 Correct 8 ms 12032 KB Output is correct
59 Correct 9 ms 12032 KB Output is correct
60 Correct 8 ms 12032 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 12160 KB Output is correct
2 Correct 8 ms 12032 KB Output is correct
3 Correct 8 ms 12032 KB Output is correct
4 Correct 8 ms 12032 KB Output is correct
5 Correct 8 ms 12032 KB Output is correct
6 Correct 10 ms 12032 KB Output is correct
7 Correct 8 ms 12032 KB Output is correct
8 Correct 8 ms 12032 KB Output is correct
9 Correct 8 ms 12032 KB Output is correct
10 Correct 8 ms 12032 KB Output is correct
11 Correct 8 ms 12032 KB Output is correct
12 Correct 9 ms 12032 KB Output is correct
13 Correct 8 ms 12032 KB Output is correct
14 Correct 8 ms 12032 KB Output is correct
15 Correct 7 ms 12032 KB Output is correct
16 Correct 9 ms 12032 KB Output is correct
17 Correct 8 ms 12032 KB Output is correct
18 Correct 7 ms 12032 KB Output is correct
19 Correct 8 ms 12032 KB Output is correct
20 Correct 7 ms 12032 KB Output is correct
21 Correct 8 ms 12032 KB Output is correct
22 Correct 7 ms 12100 KB Output is correct
23 Correct 7 ms 12032 KB Output is correct
24 Correct 7 ms 12032 KB Output is correct
25 Correct 7 ms 12032 KB Output is correct
26 Correct 8 ms 12032 KB Output is correct
27 Correct 8 ms 12032 KB Output is correct
28 Correct 7 ms 12160 KB Output is correct
29 Correct 7 ms 12032 KB Output is correct
30 Correct 8 ms 12032 KB Output is correct
31 Correct 7 ms 12032 KB Output is correct
32 Correct 7 ms 12032 KB Output is correct
33 Correct 8 ms 12032 KB Output is correct
34 Correct 8 ms 12032 KB Output is correct
35 Correct 7 ms 12032 KB Output is correct
36 Correct 7 ms 12032 KB Output is correct
37 Correct 7 ms 12032 KB Output is correct
38 Correct 7 ms 12032 KB Output is correct
39 Correct 7 ms 12032 KB Output is correct
40 Correct 7 ms 12140 KB Output is correct
41 Correct 7 ms 12032 KB Output is correct
42 Correct 9 ms 12032 KB Output is correct
43 Correct 8 ms 12032 KB Output is correct
44 Correct 9 ms 12032 KB Output is correct
45 Correct 9 ms 12032 KB Output is correct
46 Correct 9 ms 12032 KB Output is correct
47 Correct 8 ms 12032 KB Output is correct
48 Correct 9 ms 12032 KB Output is correct
49 Correct 7 ms 12032 KB Output is correct
50 Correct 7 ms 12032 KB Output is correct
51 Correct 8 ms 12032 KB Output is correct
52 Correct 8 ms 12032 KB Output is correct
53 Correct 8 ms 12032 KB Output is correct
54 Correct 7 ms 12032 KB Output is correct
55 Correct 7 ms 12032 KB Output is correct
56 Correct 8 ms 12032 KB Output is correct
57 Correct 8 ms 12032 KB Output is correct
58 Correct 8 ms 12032 KB Output is correct
59 Correct 9 ms 12032 KB Output is correct
60 Correct 8 ms 12032 KB Output is correct
61 Correct 7 ms 12032 KB Output is correct
62 Correct 10 ms 12032 KB Output is correct
63 Incorrect 7 ms 12032 KB Output isn't correct
64 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 12160 KB Output is correct
2 Correct 8 ms 12032 KB Output is correct
3 Correct 8 ms 12032 KB Output is correct
4 Correct 8 ms 12032 KB Output is correct
5 Correct 8 ms 12032 KB Output is correct
6 Correct 10 ms 12032 KB Output is correct
7 Correct 8 ms 12032 KB Output is correct
8 Correct 8 ms 12032 KB Output is correct
9 Correct 8 ms 12032 KB Output is correct
10 Correct 8 ms 12032 KB Output is correct
11 Correct 8 ms 12032 KB Output is correct
12 Correct 9 ms 12032 KB Output is correct
13 Correct 8 ms 12032 KB Output is correct
14 Correct 8 ms 12032 KB Output is correct
15 Correct 7 ms 12032 KB Output is correct
16 Correct 9 ms 12032 KB Output is correct
17 Correct 8 ms 12032 KB Output is correct
18 Correct 7 ms 12032 KB Output is correct
19 Correct 8 ms 12032 KB Output is correct
20 Correct 7 ms 12032 KB Output is correct
21 Correct 8 ms 12032 KB Output is correct
22 Correct 7 ms 12100 KB Output is correct
23 Correct 7 ms 12032 KB Output is correct
24 Correct 7 ms 12032 KB Output is correct
25 Correct 7 ms 12032 KB Output is correct
26 Correct 8 ms 12032 KB Output is correct
27 Correct 8 ms 12032 KB Output is correct
28 Correct 7 ms 12160 KB Output is correct
29 Correct 7 ms 12032 KB Output is correct
30 Correct 8 ms 12032 KB Output is correct
31 Correct 7 ms 12032 KB Output is correct
32 Correct 7 ms 12032 KB Output is correct
33 Correct 8 ms 12032 KB Output is correct
34 Correct 8 ms 12032 KB Output is correct
35 Correct 7 ms 12032 KB Output is correct
36 Correct 7 ms 12032 KB Output is correct
37 Correct 7 ms 12032 KB Output is correct
38 Correct 7 ms 12032 KB Output is correct
39 Correct 7 ms 12032 KB Output is correct
40 Correct 7 ms 12140 KB Output is correct
41 Correct 7 ms 12032 KB Output is correct
42 Correct 9 ms 12032 KB Output is correct
43 Correct 8 ms 12032 KB Output is correct
44 Correct 9 ms 12032 KB Output is correct
45 Correct 9 ms 12032 KB Output is correct
46 Correct 9 ms 12032 KB Output is correct
47 Correct 8 ms 12032 KB Output is correct
48 Correct 9 ms 12032 KB Output is correct
49 Correct 7 ms 12032 KB Output is correct
50 Correct 7 ms 12032 KB Output is correct
51 Correct 8 ms 12032 KB Output is correct
52 Correct 8 ms 12032 KB Output is correct
53 Correct 8 ms 12032 KB Output is correct
54 Correct 7 ms 12032 KB Output is correct
55 Correct 7 ms 12032 KB Output is correct
56 Correct 8 ms 12032 KB Output is correct
57 Correct 8 ms 12032 KB Output is correct
58 Correct 8 ms 12032 KB Output is correct
59 Correct 9 ms 12032 KB Output is correct
60 Correct 8 ms 12032 KB Output is correct
61 Correct 7 ms 12032 KB Output is correct
62 Correct 10 ms 12032 KB Output is correct
63 Incorrect 7 ms 12032 KB Output isn't correct
64 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 12160 KB Output is correct
2 Correct 8 ms 12032 KB Output is correct
3 Correct 8 ms 12032 KB Output is correct
4 Correct 8 ms 12032 KB Output is correct
5 Correct 8 ms 12032 KB Output is correct
6 Correct 10 ms 12032 KB Output is correct
7 Correct 8 ms 12032 KB Output is correct
8 Correct 8 ms 12032 KB Output is correct
9 Correct 8 ms 12032 KB Output is correct
10 Correct 8 ms 12032 KB Output is correct
11 Correct 8 ms 12032 KB Output is correct
12 Correct 9 ms 12032 KB Output is correct
13 Correct 8 ms 12032 KB Output is correct
14 Correct 8 ms 12032 KB Output is correct
15 Correct 7 ms 12032 KB Output is correct
16 Correct 9 ms 12032 KB Output is correct
17 Correct 8 ms 12032 KB Output is correct
18 Correct 7 ms 12032 KB Output is correct
19 Correct 8 ms 12032 KB Output is correct
20 Correct 7 ms 12032 KB Output is correct
21 Correct 8 ms 12032 KB Output is correct
22 Correct 7 ms 12100 KB Output is correct
23 Correct 7 ms 12032 KB Output is correct
24 Correct 7 ms 12032 KB Output is correct
25 Correct 7 ms 12032 KB Output is correct
26 Correct 8 ms 12032 KB Output is correct
27 Correct 8 ms 12032 KB Output is correct
28 Correct 7 ms 12160 KB Output is correct
29 Correct 7 ms 12032 KB Output is correct
30 Correct 8 ms 12032 KB Output is correct
31 Correct 7 ms 12032 KB Output is correct
32 Correct 7 ms 12032 KB Output is correct
33 Correct 8 ms 12032 KB Output is correct
34 Correct 8 ms 12032 KB Output is correct
35 Correct 7 ms 12032 KB Output is correct
36 Correct 7 ms 12032 KB Output is correct
37 Correct 7 ms 12032 KB Output is correct
38 Correct 7 ms 12032 KB Output is correct
39 Correct 7 ms 12032 KB Output is correct
40 Correct 7 ms 12140 KB Output is correct
41 Correct 7 ms 12032 KB Output is correct
42 Correct 9 ms 12032 KB Output is correct
43 Correct 8 ms 12032 KB Output is correct
44 Correct 9 ms 12032 KB Output is correct
45 Correct 9 ms 12032 KB Output is correct
46 Correct 9 ms 12032 KB Output is correct
47 Correct 8 ms 12032 KB Output is correct
48 Correct 9 ms 12032 KB Output is correct
49 Correct 7 ms 12032 KB Output is correct
50 Correct 7 ms 12032 KB Output is correct
51 Correct 8 ms 12032 KB Output is correct
52 Correct 8 ms 12032 KB Output is correct
53 Correct 8 ms 12032 KB Output is correct
54 Correct 7 ms 12032 KB Output is correct
55 Correct 7 ms 12032 KB Output is correct
56 Correct 8 ms 12032 KB Output is correct
57 Correct 8 ms 12032 KB Output is correct
58 Correct 8 ms 12032 KB Output is correct
59 Correct 9 ms 12032 KB Output is correct
60 Correct 8 ms 12032 KB Output is correct
61 Correct 7 ms 12032 KB Output is correct
62 Correct 10 ms 12032 KB Output is correct
63 Incorrect 7 ms 12032 KB Output isn't correct
64 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 12160 KB Output is correct
2 Correct 8 ms 12032 KB Output is correct
3 Correct 8 ms 12032 KB Output is correct
4 Correct 8 ms 12032 KB Output is correct
5 Correct 8 ms 12032 KB Output is correct
6 Correct 10 ms 12032 KB Output is correct
7 Correct 8 ms 12032 KB Output is correct
8 Correct 8 ms 12032 KB Output is correct
9 Correct 8 ms 12032 KB Output is correct
10 Correct 8 ms 12032 KB Output is correct
11 Correct 8 ms 12032 KB Output is correct
12 Correct 9 ms 12032 KB Output is correct
13 Correct 8 ms 12032 KB Output is correct
14 Correct 8 ms 12032 KB Output is correct
15 Correct 7 ms 12032 KB Output is correct
16 Correct 9 ms 12032 KB Output is correct
17 Correct 8 ms 12032 KB Output is correct
18 Correct 7 ms 12032 KB Output is correct
19 Correct 8 ms 12032 KB Output is correct
20 Correct 7 ms 12032 KB Output is correct
21 Correct 8 ms 12032 KB Output is correct
22 Correct 7 ms 12100 KB Output is correct
23 Correct 7 ms 12032 KB Output is correct
24 Correct 7 ms 12032 KB Output is correct
25 Correct 7 ms 12032 KB Output is correct
26 Correct 8 ms 12032 KB Output is correct
27 Correct 8 ms 12032 KB Output is correct
28 Correct 7 ms 12160 KB Output is correct
29 Correct 7 ms 12032 KB Output is correct
30 Correct 8 ms 12032 KB Output is correct
31 Correct 7 ms 12032 KB Output is correct
32 Correct 7 ms 12032 KB Output is correct
33 Correct 8 ms 12032 KB Output is correct
34 Correct 8 ms 12032 KB Output is correct
35 Correct 7 ms 12032 KB Output is correct
36 Correct 7 ms 12032 KB Output is correct
37 Correct 7 ms 12032 KB Output is correct
38 Correct 7 ms 12032 KB Output is correct
39 Correct 7 ms 12032 KB Output is correct
40 Correct 7 ms 12140 KB Output is correct
41 Correct 7 ms 12032 KB Output is correct
42 Correct 9 ms 12032 KB Output is correct
43 Correct 8 ms 12032 KB Output is correct
44 Correct 9 ms 12032 KB Output is correct
45 Correct 9 ms 12032 KB Output is correct
46 Correct 9 ms 12032 KB Output is correct
47 Correct 8 ms 12032 KB Output is correct
48 Correct 9 ms 12032 KB Output is correct
49 Correct 7 ms 12032 KB Output is correct
50 Correct 7 ms 12032 KB Output is correct
51 Correct 8 ms 12032 KB Output is correct
52 Correct 8 ms 12032 KB Output is correct
53 Correct 8 ms 12032 KB Output is correct
54 Correct 7 ms 12032 KB Output is correct
55 Correct 7 ms 12032 KB Output is correct
56 Correct 8 ms 12032 KB Output is correct
57 Correct 8 ms 12032 KB Output is correct
58 Correct 8 ms 12032 KB Output is correct
59 Correct 9 ms 12032 KB Output is correct
60 Correct 8 ms 12032 KB Output is correct
61 Correct 7 ms 12032 KB Output is correct
62 Correct 10 ms 12032 KB Output is correct
63 Incorrect 7 ms 12032 KB Output isn't correct
64 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 12160 KB Output is correct
2 Correct 8 ms 12032 KB Output is correct
3 Correct 8 ms 12032 KB Output is correct
4 Correct 8 ms 12032 KB Output is correct
5 Correct 8 ms 12032 KB Output is correct
6 Correct 10 ms 12032 KB Output is correct
7 Correct 8 ms 12032 KB Output is correct
8 Correct 8 ms 12032 KB Output is correct
9 Correct 8 ms 12032 KB Output is correct
10 Correct 8 ms 12032 KB Output is correct
11 Correct 8 ms 12032 KB Output is correct
12 Correct 9 ms 12032 KB Output is correct
13 Correct 8 ms 12032 KB Output is correct
14 Correct 8 ms 12032 KB Output is correct
15 Correct 7 ms 12032 KB Output is correct
16 Correct 9 ms 12032 KB Output is correct
17 Correct 8 ms 12032 KB Output is correct
18 Correct 7 ms 12032 KB Output is correct
19 Correct 8 ms 12032 KB Output is correct
20 Correct 7 ms 12032 KB Output is correct
21 Correct 8 ms 12032 KB Output is correct
22 Correct 7 ms 12100 KB Output is correct
23 Correct 7 ms 12032 KB Output is correct
24 Correct 7 ms 12032 KB Output is correct
25 Correct 7 ms 12032 KB Output is correct
26 Correct 8 ms 12032 KB Output is correct
27 Correct 8 ms 12032 KB Output is correct
28 Correct 7 ms 12160 KB Output is correct
29 Correct 7 ms 12032 KB Output is correct
30 Correct 8 ms 12032 KB Output is correct
31 Correct 7 ms 12032 KB Output is correct
32 Correct 7 ms 12032 KB Output is correct
33 Correct 8 ms 12032 KB Output is correct
34 Correct 8 ms 12032 KB Output is correct
35 Correct 7 ms 12032 KB Output is correct
36 Correct 7 ms 12032 KB Output is correct
37 Correct 7 ms 12032 KB Output is correct
38 Correct 7 ms 12032 KB Output is correct
39 Correct 7 ms 12032 KB Output is correct
40 Correct 7 ms 12140 KB Output is correct
41 Correct 7 ms 12032 KB Output is correct
42 Correct 9 ms 12032 KB Output is correct
43 Correct 8 ms 12032 KB Output is correct
44 Correct 9 ms 12032 KB Output is correct
45 Correct 9 ms 12032 KB Output is correct
46 Correct 9 ms 12032 KB Output is correct
47 Correct 8 ms 12032 KB Output is correct
48 Correct 9 ms 12032 KB Output is correct
49 Correct 7 ms 12032 KB Output is correct
50 Correct 7 ms 12032 KB Output is correct
51 Correct 8 ms 12032 KB Output is correct
52 Correct 8 ms 12032 KB Output is correct
53 Correct 8 ms 12032 KB Output is correct
54 Correct 7 ms 12032 KB Output is correct
55 Correct 7 ms 12032 KB Output is correct
56 Correct 8 ms 12032 KB Output is correct
57 Correct 8 ms 12032 KB Output is correct
58 Correct 8 ms 12032 KB Output is correct
59 Correct 9 ms 12032 KB Output is correct
60 Correct 8 ms 12032 KB Output is correct
61 Correct 7 ms 12032 KB Output is correct
62 Correct 10 ms 12032 KB Output is correct
63 Incorrect 7 ms 12032 KB Output isn't correct
64 Halted 0 ms 0 KB -