답안 #387755

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
387755 2021-04-09T07:25:45 Z AmShZ 벽 칠하기 (APIO20_paint) C++11
51 / 100
435 ms 524292 KB
// khodaya khodet komak kon
# include <bits/stdc++.h>
 
/*
// ordered_set 
# include <ext/pb_ds/assoc_container.hpp>
# include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
# define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update> 
*/
 
using namespace std;
 
typedef long long                                        ll;
typedef long double                                      ld;
typedef pair <int, int>                                  pii;
typedef pair <ll, ll>                                    pll;
typedef pair <pll,  ll>                                  ppi;
typedef pair <int, pii>                                  pip;
typedef pair <pii, pii>                                  ppp;
 
# define A                                               first
# define B                                               second
# define endl                                            '\n'
# define sep                                             ' '
# define all(x)                                          x.begin(), x.end()
# define kill(x)                                         return cout << x << endl, 0
# define SZ(x)                                           int(x.size())
# define lc                                              id << 1
# define rc                                              id << 1 | 1
# define InTheNameOfGod                                  ios::sync_with_stdio(0);cin.tie(0); cout.tie(0);
 
ll power(ll a, ll b, ll md) {return (!b ? 1 : (b & 1 ? a * power(a * a % md, b / 2, md) % md : power(a * a % md, b / 2, md) % md));}
 
const int xn = 1e5 + 10;
const int xm = 5e4 + 10;
const int sq = 320;
const int inf = 1e9 + 10;
const ll INF = 1e18 + 10;
const int mod = 1e9 + 7;//998244353;
const int base = 257;

int dp[xn], last[xn], ptr, ans;
vector <int> vec[xn];
bitset <xn> bs[xm], ps[2][xm], tot;

int minimumInstructions(int n, int m, int k, vector <int> c, vector <int> a, vector <vector <int> > b){
	//cin >> n >> m >> k;
	//for (int i = 0; i < n; ++ i)
		//cin >> c[i], vec[c[i]].push_back(i);
	for (int i = 0; i < n; ++ i)
		vec[c[i]].push_back(i);
	//for (int i = 0; i < m; ++ i)
		//cin >> a[i];
	for (int i = 0; i < m; ++ i){
		for (int j = 0; j < a[i]; ++ j){
			int x = b[i][j];
			//cin >> x;
			//b[i].push_back(j);
			for (int ind : vec[x])
				bs[i][ind] = 1;
		}
	}
	for (int i = 0; i < m; ++ i){
		if (i)
			ps[0][i] = (ps[0][i - 1] & (bs[i] >> i));
		else
			ps[0][i] = bs[i];
	}
	for (int i = m - 1; i >= 0; -- i){
		if (i < m - 1)
			ps[1][i] = (bs[i] & (ps[1][i + 1] >> 1));
		else
			ps[1][i] = bs[i];
	}
	tot = ps[0][m - 1];
	for (int i = 1; i < m; ++ i)
		tot |= (ps[1][i] & (ps[0][i - 1] >> (m - i)));
	for (int i = 0; i < xn; ++ i){
		if (i)
			last[i] = last[i - 1];
		if (tot[i])
			last[i] = i;
	}
	if (!tot[0])
		return - 1;
	while (ptr + m < n){
		if (last[ptr + m] == ptr)
			return - 1;
		++ ans, ptr = last[ptr + m];
	}
	return ans + 1;
}


/*
int main(){
	InTheNameOfGod;

	
		
	return 0;
}
*/
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 3052 KB Output is correct
2 Correct 3 ms 3040 KB Output is correct
3 Correct 3 ms 3000 KB Output is correct
4 Correct 2 ms 3020 KB Output is correct
5 Correct 2 ms 3148 KB Output is correct
6 Correct 2 ms 3044 KB Output is correct
7 Correct 2 ms 3020 KB Output is correct
8 Correct 2 ms 3020 KB Output is correct
9 Correct 2 ms 3148 KB Output is correct
10 Correct 3 ms 3148 KB Output is correct
11 Correct 2 ms 3168 KB Output is correct
12 Correct 2 ms 3148 KB Output is correct
13 Correct 9 ms 8780 KB Output is correct
14 Correct 8 ms 8780 KB Output is correct
15 Correct 9 ms 8780 KB Output is correct
16 Correct 9 ms 8780 KB Output is correct
17 Correct 10 ms 8808 KB Output is correct
18 Correct 9 ms 8780 KB Output is correct
19 Correct 8 ms 7924 KB Output is correct
20 Correct 8 ms 8012 KB Output is correct
21 Correct 8 ms 8012 KB Output is correct
22 Correct 22 ms 10096 KB Output is correct
23 Correct 22 ms 10104 KB Output is correct
24 Correct 22 ms 9992 KB Output is correct
25 Correct 5 ms 3404 KB Output is correct
26 Correct 5 ms 3404 KB Output is correct
27 Correct 5 ms 3532 KB Output is correct
28 Correct 5 ms 3532 KB Output is correct
29 Correct 5 ms 3532 KB Output is correct
30 Correct 5 ms 3548 KB Output is correct
31 Correct 76 ms 65640 KB Output is correct
32 Correct 77 ms 65672 KB Output is correct
33 Correct 73 ms 65732 KB Output is correct
34 Correct 71 ms 65744 KB Output is correct
35 Correct 71 ms 65676 KB Output is correct
36 Correct 71 ms 65732 KB Output is correct
37 Correct 83 ms 66144 KB Output is correct
38 Correct 82 ms 66160 KB Output is correct
39 Correct 81 ms 66264 KB Output is correct
40 Correct 13 ms 4420 KB Output is correct
41 Correct 9 ms 3952 KB Output is correct
42 Correct 15 ms 4680 KB Output is correct
43 Correct 11 ms 4284 KB Output is correct
44 Correct 13 ms 4176 KB Output is correct
45 Correct 15 ms 4812 KB Output is correct
46 Runtime error 435 ms 524292 KB Execution killed with signal 9
47 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 3052 KB Output is correct
2 Correct 3 ms 3040 KB Output is correct
3 Correct 3 ms 3000 KB Output is correct
4 Correct 2 ms 3020 KB Output is correct
5 Correct 2 ms 3148 KB Output is correct
6 Correct 2 ms 3044 KB Output is correct
7 Correct 2 ms 3020 KB Output is correct
8 Correct 2 ms 3020 KB Output is correct
9 Correct 2 ms 3148 KB Output is correct
10 Correct 3 ms 3148 KB Output is correct
11 Correct 2 ms 3168 KB Output is correct
12 Correct 2 ms 3148 KB Output is correct
13 Correct 9 ms 8780 KB Output is correct
14 Correct 8 ms 8780 KB Output is correct
15 Correct 9 ms 8780 KB Output is correct
16 Correct 9 ms 8780 KB Output is correct
17 Correct 10 ms 8808 KB Output is correct
18 Correct 9 ms 8780 KB Output is correct
19 Correct 8 ms 7924 KB Output is correct
20 Correct 8 ms 8012 KB Output is correct
21 Correct 8 ms 8012 KB Output is correct
22 Correct 3 ms 3304 KB Output is correct
23 Correct 3 ms 3148 KB Output is correct
24 Correct 3 ms 3148 KB Output is correct
25 Correct 2 ms 3044 KB Output is correct
26 Correct 3 ms 3148 KB Output is correct
27 Correct 3 ms 3148 KB Output is correct
28 Correct 3 ms 3792 KB Output is correct
29 Correct 4 ms 3916 KB Output is correct
30 Correct 3 ms 3920 KB Output is correct
31 Correct 3 ms 3276 KB Output is correct
32 Correct 4 ms 4304 KB Output is correct
33 Correct 8 ms 7628 KB Output is correct
34 Correct 8 ms 7652 KB Output is correct
35 Correct 7 ms 6732 KB Output is correct
36 Correct 8 ms 7544 KB Output is correct
37 Correct 8 ms 8048 KB Output is correct
38 Correct 3 ms 3148 KB Output is correct
39 Correct 3 ms 3148 KB Output is correct
40 Correct 10 ms 7116 KB Output is correct
41 Correct 7 ms 7776 KB Output is correct
42 Correct 5 ms 5068 KB Output is correct
43 Correct 6 ms 4556 KB Output is correct
44 Correct 3 ms 3148 KB Output is correct
45 Correct 4 ms 3916 KB Output is correct
46 Correct 4 ms 4300 KB Output is correct
47 Correct 6 ms 4456 KB Output is correct
48 Correct 4 ms 4684 KB Output is correct
49 Correct 5 ms 4812 KB Output is correct
50 Correct 9 ms 8780 KB Output is correct
51 Correct 9 ms 8800 KB Output is correct
52 Correct 9 ms 8780 KB Output is correct
53 Correct 9 ms 8780 KB Output is correct
54 Correct 9 ms 8780 KB Output is correct
55 Correct 9 ms 8780 KB Output is correct
56 Correct 10 ms 8012 KB Output is correct
57 Correct 9 ms 8780 KB Output is correct
58 Correct 9 ms 7916 KB Output is correct
59 Correct 9 ms 8796 KB Output is correct
60 Correct 9 ms 8012 KB Output is correct
61 Correct 11 ms 8784 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 3304 KB Output is correct
2 Correct 3 ms 3148 KB Output is correct
3 Correct 2 ms 3052 KB Output is correct
4 Correct 3 ms 3040 KB Output is correct
5 Correct 3 ms 3000 KB Output is correct
6 Correct 2 ms 3020 KB Output is correct
7 Correct 2 ms 3148 KB Output is correct
8 Correct 2 ms 3044 KB Output is correct
9 Correct 2 ms 3020 KB Output is correct
10 Correct 2 ms 3020 KB Output is correct
11 Correct 2 ms 3148 KB Output is correct
12 Correct 3 ms 3148 KB Output is correct
13 Correct 2 ms 3168 KB Output is correct
14 Correct 2 ms 3148 KB Output is correct
15 Correct 9 ms 8780 KB Output is correct
16 Correct 8 ms 8780 KB Output is correct
17 Correct 9 ms 8780 KB Output is correct
18 Correct 9 ms 8780 KB Output is correct
19 Correct 10 ms 8808 KB Output is correct
20 Correct 9 ms 8780 KB Output is correct
21 Correct 8 ms 7924 KB Output is correct
22 Correct 8 ms 8012 KB Output is correct
23 Correct 8 ms 8012 KB Output is correct
24 Correct 22 ms 10096 KB Output is correct
25 Correct 22 ms 10104 KB Output is correct
26 Correct 22 ms 9992 KB Output is correct
27 Correct 3 ms 3148 KB Output is correct
28 Correct 2 ms 3044 KB Output is correct
29 Correct 3 ms 3148 KB Output is correct
30 Correct 3 ms 3148 KB Output is correct
31 Correct 3 ms 3792 KB Output is correct
32 Correct 4 ms 3916 KB Output is correct
33 Correct 3 ms 3920 KB Output is correct
34 Correct 3 ms 3276 KB Output is correct
35 Correct 4 ms 4304 KB Output is correct
36 Correct 8 ms 7628 KB Output is correct
37 Correct 8 ms 7652 KB Output is correct
38 Correct 7 ms 6732 KB Output is correct
39 Correct 8 ms 7544 KB Output is correct
40 Correct 8 ms 8048 KB Output is correct
41 Correct 3 ms 3148 KB Output is correct
42 Correct 3 ms 3148 KB Output is correct
43 Correct 10 ms 7116 KB Output is correct
44 Correct 7 ms 7776 KB Output is correct
45 Correct 5 ms 5068 KB Output is correct
46 Correct 6 ms 4556 KB Output is correct
47 Correct 3 ms 3148 KB Output is correct
48 Correct 4 ms 3916 KB Output is correct
49 Correct 4 ms 4300 KB Output is correct
50 Correct 6 ms 4456 KB Output is correct
51 Correct 4 ms 4684 KB Output is correct
52 Correct 5 ms 4812 KB Output is correct
53 Correct 9 ms 8780 KB Output is correct
54 Correct 9 ms 8800 KB Output is correct
55 Correct 9 ms 8780 KB Output is correct
56 Correct 9 ms 8780 KB Output is correct
57 Correct 9 ms 8780 KB Output is correct
58 Correct 9 ms 8780 KB Output is correct
59 Correct 10 ms 8012 KB Output is correct
60 Correct 9 ms 8780 KB Output is correct
61 Correct 9 ms 7916 KB Output is correct
62 Correct 9 ms 8796 KB Output is correct
63 Correct 9 ms 8012 KB Output is correct
64 Correct 11 ms 8784 KB Output is correct
65 Correct 10 ms 8416 KB Output is correct
66 Correct 5 ms 4172 KB Output is correct
67 Correct 7 ms 6628 KB Output is correct
68 Correct 5 ms 5092 KB Output is correct
69 Correct 6 ms 6476 KB Output is correct
70 Correct 10 ms 8396 KB Output is correct
71 Correct 9 ms 7536 KB Output is correct
72 Correct 6 ms 5452 KB Output is correct
73 Correct 4 ms 3532 KB Output is correct
74 Correct 8 ms 6244 KB Output is correct
75 Correct 10 ms 8524 KB Output is correct
76 Correct 21 ms 7832 KB Output is correct
77 Correct 18 ms 4804 KB Output is correct
78 Correct 23 ms 5924 KB Output is correct
79 Correct 9 ms 8780 KB Output is correct
80 Correct 9 ms 8816 KB Output is correct
81 Correct 9 ms 8780 KB Output is correct
82 Correct 9 ms 8780 KB Output is correct
83 Correct 10 ms 8832 KB Output is correct
84 Correct 11 ms 9028 KB Output is correct
85 Correct 11 ms 9024 KB Output is correct
86 Correct 11 ms 9028 KB Output is correct
87 Correct 11 ms 9032 KB Output is correct
88 Correct 11 ms 8956 KB Output is correct
89 Correct 12 ms 8908 KB Output is correct
90 Correct 30 ms 10920 KB Output is correct
91 Correct 31 ms 10812 KB Output is correct
92 Correct 30 ms 10816 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 3304 KB Output is correct
2 Correct 3 ms 3148 KB Output is correct
3 Correct 2 ms 3052 KB Output is correct
4 Correct 3 ms 3040 KB Output is correct
5 Correct 3 ms 3000 KB Output is correct
6 Correct 2 ms 3020 KB Output is correct
7 Correct 2 ms 3148 KB Output is correct
8 Correct 2 ms 3044 KB Output is correct
9 Correct 2 ms 3020 KB Output is correct
10 Correct 2 ms 3020 KB Output is correct
11 Correct 2 ms 3148 KB Output is correct
12 Correct 3 ms 3148 KB Output is correct
13 Correct 2 ms 3168 KB Output is correct
14 Correct 2 ms 3148 KB Output is correct
15 Correct 9 ms 8780 KB Output is correct
16 Correct 8 ms 8780 KB Output is correct
17 Correct 9 ms 8780 KB Output is correct
18 Correct 9 ms 8780 KB Output is correct
19 Correct 10 ms 8808 KB Output is correct
20 Correct 9 ms 8780 KB Output is correct
21 Correct 8 ms 7924 KB Output is correct
22 Correct 8 ms 8012 KB Output is correct
23 Correct 8 ms 8012 KB Output is correct
24 Correct 22 ms 10096 KB Output is correct
25 Correct 22 ms 10104 KB Output is correct
26 Correct 22 ms 9992 KB Output is correct
27 Correct 5 ms 3404 KB Output is correct
28 Correct 5 ms 3404 KB Output is correct
29 Correct 5 ms 3532 KB Output is correct
30 Correct 5 ms 3532 KB Output is correct
31 Correct 5 ms 3532 KB Output is correct
32 Correct 5 ms 3548 KB Output is correct
33 Correct 76 ms 65640 KB Output is correct
34 Correct 77 ms 65672 KB Output is correct
35 Correct 73 ms 65732 KB Output is correct
36 Correct 71 ms 65744 KB Output is correct
37 Correct 71 ms 65676 KB Output is correct
38 Correct 71 ms 65732 KB Output is correct
39 Correct 83 ms 66144 KB Output is correct
40 Correct 82 ms 66160 KB Output is correct
41 Correct 81 ms 66264 KB Output is correct
42 Correct 3 ms 3148 KB Output is correct
43 Correct 2 ms 3044 KB Output is correct
44 Correct 3 ms 3148 KB Output is correct
45 Correct 3 ms 3148 KB Output is correct
46 Correct 3 ms 3792 KB Output is correct
47 Correct 4 ms 3916 KB Output is correct
48 Correct 3 ms 3920 KB Output is correct
49 Correct 3 ms 3276 KB Output is correct
50 Correct 4 ms 4304 KB Output is correct
51 Correct 8 ms 7628 KB Output is correct
52 Correct 8 ms 7652 KB Output is correct
53 Correct 7 ms 6732 KB Output is correct
54 Correct 8 ms 7544 KB Output is correct
55 Correct 8 ms 8048 KB Output is correct
56 Correct 3 ms 3148 KB Output is correct
57 Correct 3 ms 3148 KB Output is correct
58 Correct 10 ms 7116 KB Output is correct
59 Correct 7 ms 7776 KB Output is correct
60 Correct 5 ms 5068 KB Output is correct
61 Correct 6 ms 4556 KB Output is correct
62 Correct 3 ms 3148 KB Output is correct
63 Correct 4 ms 3916 KB Output is correct
64 Correct 4 ms 4300 KB Output is correct
65 Correct 6 ms 4456 KB Output is correct
66 Correct 4 ms 4684 KB Output is correct
67 Correct 5 ms 4812 KB Output is correct
68 Correct 9 ms 8780 KB Output is correct
69 Correct 9 ms 8800 KB Output is correct
70 Correct 9 ms 8780 KB Output is correct
71 Correct 9 ms 8780 KB Output is correct
72 Correct 9 ms 8780 KB Output is correct
73 Correct 9 ms 8780 KB Output is correct
74 Correct 10 ms 8012 KB Output is correct
75 Correct 9 ms 8780 KB Output is correct
76 Correct 9 ms 7916 KB Output is correct
77 Correct 9 ms 8796 KB Output is correct
78 Correct 9 ms 8012 KB Output is correct
79 Correct 11 ms 8784 KB Output is correct
80 Correct 10 ms 8416 KB Output is correct
81 Correct 5 ms 4172 KB Output is correct
82 Correct 7 ms 6628 KB Output is correct
83 Correct 5 ms 5092 KB Output is correct
84 Correct 6 ms 6476 KB Output is correct
85 Correct 10 ms 8396 KB Output is correct
86 Correct 9 ms 7536 KB Output is correct
87 Correct 6 ms 5452 KB Output is correct
88 Correct 4 ms 3532 KB Output is correct
89 Correct 8 ms 6244 KB Output is correct
90 Correct 10 ms 8524 KB Output is correct
91 Correct 21 ms 7832 KB Output is correct
92 Correct 18 ms 4804 KB Output is correct
93 Correct 23 ms 5924 KB Output is correct
94 Correct 9 ms 8780 KB Output is correct
95 Correct 9 ms 8816 KB Output is correct
96 Correct 9 ms 8780 KB Output is correct
97 Correct 9 ms 8780 KB Output is correct
98 Correct 10 ms 8832 KB Output is correct
99 Correct 11 ms 9028 KB Output is correct
100 Correct 11 ms 9024 KB Output is correct
101 Correct 11 ms 9028 KB Output is correct
102 Correct 11 ms 9032 KB Output is correct
103 Correct 11 ms 8956 KB Output is correct
104 Correct 12 ms 8908 KB Output is correct
105 Correct 30 ms 10920 KB Output is correct
106 Correct 31 ms 10812 KB Output is correct
107 Correct 30 ms 10816 KB Output is correct
108 Correct 7 ms 3532 KB Output is correct
109 Correct 58 ms 21980 KB Output is correct
110 Correct 39 ms 22660 KB Output is correct
111 Correct 44 ms 23428 KB Output is correct
112 Correct 44 ms 25532 KB Output is correct
113 Correct 44 ms 31648 KB Output is correct
114 Correct 46 ms 34128 KB Output is correct
115 Correct 17 ms 6324 KB Output is correct
116 Correct 45 ms 27212 KB Output is correct
117 Correct 39 ms 25024 KB Output is correct
118 Correct 21 ms 7188 KB Output is correct
119 Correct 62 ms 49604 KB Output is correct
120 Correct 83 ms 62996 KB Output is correct
121 Correct 69 ms 62124 KB Output is correct
122 Correct 42 ms 22024 KB Output is correct
123 Correct 31 ms 20420 KB Output is correct
124 Correct 31 ms 10308 KB Output is correct
125 Correct 15 ms 8736 KB Output is correct
126 Correct 10 ms 4556 KB Output is correct
127 Correct 38 ms 20696 KB Output is correct
128 Correct 13 ms 7884 KB Output is correct
129 Correct 19 ms 9804 KB Output is correct
130 Correct 5 ms 3532 KB Output is correct
131 Correct 69 ms 22980 KB Output is correct
132 Correct 63 ms 28224 KB Output is correct
133 Correct 61 ms 31372 KB Output is correct
134 Correct 69 ms 34012 KB Output is correct
135 Correct 59 ms 36296 KB Output is correct
136 Correct 97 ms 66784 KB Output is correct
137 Correct 85 ms 66828 KB Output is correct
138 Correct 87 ms 66836 KB Output is correct
139 Correct 86 ms 66920 KB Output is correct
140 Correct 89 ms 66884 KB Output is correct
141 Correct 87 ms 66924 KB Output is correct
142 Correct 98 ms 67356 KB Output is correct
143 Correct 78 ms 65604 KB Output is correct
144 Correct 95 ms 67428 KB Output is correct
145 Correct 74 ms 65552 KB Output is correct
146 Correct 95 ms 67364 KB Output is correct
147 Correct 74 ms 65604 KB Output is correct
148 Correct 78 ms 65880 KB Output is correct
149 Correct 52 ms 35208 KB Output is correct
150 Correct 36 ms 25096 KB Output is correct
151 Correct 29 ms 19776 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 3304 KB Output is correct
2 Correct 3 ms 3148 KB Output is correct
3 Correct 2 ms 3052 KB Output is correct
4 Correct 3 ms 3040 KB Output is correct
5 Correct 3 ms 3000 KB Output is correct
6 Correct 2 ms 3020 KB Output is correct
7 Correct 2 ms 3148 KB Output is correct
8 Correct 2 ms 3044 KB Output is correct
9 Correct 2 ms 3020 KB Output is correct
10 Correct 2 ms 3020 KB Output is correct
11 Correct 2 ms 3148 KB Output is correct
12 Correct 3 ms 3148 KB Output is correct
13 Correct 2 ms 3168 KB Output is correct
14 Correct 2 ms 3148 KB Output is correct
15 Correct 9 ms 8780 KB Output is correct
16 Correct 8 ms 8780 KB Output is correct
17 Correct 9 ms 8780 KB Output is correct
18 Correct 9 ms 8780 KB Output is correct
19 Correct 10 ms 8808 KB Output is correct
20 Correct 9 ms 8780 KB Output is correct
21 Correct 8 ms 7924 KB Output is correct
22 Correct 8 ms 8012 KB Output is correct
23 Correct 8 ms 8012 KB Output is correct
24 Correct 22 ms 10096 KB Output is correct
25 Correct 22 ms 10104 KB Output is correct
26 Correct 22 ms 9992 KB Output is correct
27 Correct 5 ms 3404 KB Output is correct
28 Correct 5 ms 3404 KB Output is correct
29 Correct 5 ms 3532 KB Output is correct
30 Correct 5 ms 3532 KB Output is correct
31 Correct 5 ms 3532 KB Output is correct
32 Correct 5 ms 3548 KB Output is correct
33 Correct 76 ms 65640 KB Output is correct
34 Correct 77 ms 65672 KB Output is correct
35 Correct 73 ms 65732 KB Output is correct
36 Correct 71 ms 65744 KB Output is correct
37 Correct 71 ms 65676 KB Output is correct
38 Correct 71 ms 65732 KB Output is correct
39 Correct 83 ms 66144 KB Output is correct
40 Correct 82 ms 66160 KB Output is correct
41 Correct 81 ms 66264 KB Output is correct
42 Correct 13 ms 4420 KB Output is correct
43 Correct 9 ms 3952 KB Output is correct
44 Correct 15 ms 4680 KB Output is correct
45 Correct 11 ms 4284 KB Output is correct
46 Correct 13 ms 4176 KB Output is correct
47 Correct 15 ms 4812 KB Output is correct
48 Runtime error 435 ms 524292 KB Execution killed with signal 9
49 Halted 0 ms 0 KB -