답안 #232654

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
232654 2020-05-17T17:57:26 Z crossing0ver Traffic (IOI10_traffic) C++17
100 / 100
1206 ms 156712 KB
#include<bits/stdc++.h>
using namespace std; 
int dp[1000006],sum[1000001], C[1000006] , tot; 
vector <int> adj[1000005];
void dfs(int v,int p) {
	dp[v] = sum[v] = 0;
	int s = 0;
//	int r = 0;
	for (int i:adj[v]) {
		if (i != p) {
			dfs (i,v);
			dp[v] = max(dp[v], sum[i] + C[i]);
			sum[v] += sum[i] + C[i];
		}
	}
	dp[v] = max(dp[v],tot - C[v] - sum[v]);
}

int LocateCentre(int n,int P[],int S[],int D[]) {
	  for (int i = 0; i < n-1; i++)
	  	adj[S[i]].push_back(D[i]),
	  	adj[D[i]].push_back(S[i]);
		for (int i = 0; i < n; i++)
	  	C[i] = P[i], tot += C[i];
	pair<int,int> ans = {INT_MAX,-1};
	dfs(0,-1);
	for (int i = 0; i < n; i++) {
	//	dfs(i,-1);
		ans = min(ans,{dp[i],i});
	}
	return ans.second;
}     /*
int main(){
	static int N,P[1000000],S[1000000],D[1000000];
   int i;
   scanf("%d",&N);
   for (i=0;i<N;i++) scanf("%d",&P[i]);
   for (i=0;i<N-1;i++) scanf("%d%d",&S[i],&D[i]);
   int r = LocateCentre(N,P,S,D);
   printf("%d\n",r);
   return 0;
}                   */

Compilation message

traffic.cpp: In function 'void dfs(int, int)':
traffic.cpp:7:6: warning: unused variable 's' [-Wunused-variable]
  int s = 0;
      ^
traffic.cpp: In function 'int LocateCentre(int, int*, int*, int*)':
traffic.cpp:20:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for (int i = 0; i < n-1; i++)
    ^~~
traffic.cpp:23:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for (int i = 0; i < n; i++)
   ^~~
# 결과 실행 시간 메모리 Grader output
1 Correct 19 ms 23808 KB Output is correct
2 Correct 18 ms 23808 KB Output is correct
3 Correct 20 ms 23936 KB Output is correct
4 Correct 18 ms 23808 KB Output is correct
5 Correct 18 ms 23808 KB Output is correct
6 Correct 19 ms 23808 KB Output is correct
7 Correct 18 ms 23808 KB Output is correct
8 Correct 19 ms 23808 KB Output is correct
9 Correct 18 ms 23808 KB Output is correct
10 Correct 18 ms 23808 KB Output is correct
11 Correct 18 ms 23808 KB Output is correct
12 Correct 18 ms 23808 KB Output is correct
13 Correct 19 ms 23808 KB Output is correct
14 Correct 18 ms 23936 KB Output is correct
15 Correct 19 ms 23808 KB Output is correct
16 Correct 18 ms 23840 KB Output is correct
17 Correct 19 ms 23808 KB Output is correct
18 Correct 19 ms 23808 KB Output is correct
19 Correct 19 ms 23808 KB Output is correct
20 Correct 18 ms 23808 KB Output is correct
21 Correct 19 ms 23808 KB Output is correct
22 Correct 18 ms 23808 KB Output is correct
23 Correct 18 ms 23808 KB Output is correct
24 Correct 18 ms 23808 KB Output is correct
25 Correct 18 ms 23808 KB Output is correct
26 Correct 18 ms 23808 KB Output is correct
27 Correct 19 ms 23936 KB Output is correct
28 Correct 18 ms 23936 KB Output is correct
29 Correct 19 ms 23936 KB Output is correct
30 Correct 19 ms 23936 KB Output is correct
31 Correct 19 ms 23936 KB Output is correct
32 Correct 19 ms 23936 KB Output is correct
33 Correct 18 ms 23936 KB Output is correct
34 Correct 19 ms 23808 KB Output is correct
35 Correct 18 ms 23936 KB Output is correct
36 Correct 18 ms 23928 KB Output is correct
37 Correct 19 ms 23936 KB Output is correct
38 Correct 19 ms 23936 KB Output is correct
39 Correct 21 ms 23936 KB Output is correct
40 Correct 18 ms 23936 KB Output is correct
41 Correct 18 ms 23936 KB Output is correct
42 Correct 18 ms 23936 KB Output is correct
43 Correct 18 ms 23808 KB Output is correct
44 Correct 18 ms 23936 KB Output is correct
45 Correct 18 ms 23808 KB Output is correct
46 Correct 20 ms 23808 KB Output is correct
47 Correct 19 ms 23936 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 19 ms 23808 KB Output is correct
2 Correct 18 ms 23808 KB Output is correct
3 Correct 20 ms 23936 KB Output is correct
4 Correct 18 ms 23808 KB Output is correct
5 Correct 18 ms 23808 KB Output is correct
6 Correct 19 ms 23808 KB Output is correct
7 Correct 18 ms 23808 KB Output is correct
8 Correct 19 ms 23808 KB Output is correct
9 Correct 18 ms 23808 KB Output is correct
10 Correct 18 ms 23808 KB Output is correct
11 Correct 18 ms 23808 KB Output is correct
12 Correct 18 ms 23808 KB Output is correct
13 Correct 19 ms 23808 KB Output is correct
14 Correct 18 ms 23936 KB Output is correct
15 Correct 19 ms 23808 KB Output is correct
16 Correct 18 ms 23840 KB Output is correct
17 Correct 19 ms 23808 KB Output is correct
18 Correct 19 ms 23808 KB Output is correct
19 Correct 19 ms 23808 KB Output is correct
20 Correct 18 ms 23808 KB Output is correct
21 Correct 19 ms 23808 KB Output is correct
22 Correct 18 ms 23808 KB Output is correct
23 Correct 18 ms 23808 KB Output is correct
24 Correct 18 ms 23808 KB Output is correct
25 Correct 18 ms 23808 KB Output is correct
26 Correct 18 ms 23808 KB Output is correct
27 Correct 19 ms 23936 KB Output is correct
28 Correct 18 ms 23936 KB Output is correct
29 Correct 19 ms 23936 KB Output is correct
30 Correct 19 ms 23936 KB Output is correct
31 Correct 19 ms 23936 KB Output is correct
32 Correct 19 ms 23936 KB Output is correct
33 Correct 18 ms 23936 KB Output is correct
34 Correct 19 ms 23808 KB Output is correct
35 Correct 18 ms 23936 KB Output is correct
36 Correct 18 ms 23928 KB Output is correct
37 Correct 19 ms 23936 KB Output is correct
38 Correct 19 ms 23936 KB Output is correct
39 Correct 21 ms 23936 KB Output is correct
40 Correct 18 ms 23936 KB Output is correct
41 Correct 18 ms 23936 KB Output is correct
42 Correct 18 ms 23936 KB Output is correct
43 Correct 18 ms 23808 KB Output is correct
44 Correct 18 ms 23936 KB Output is correct
45 Correct 18 ms 23808 KB Output is correct
46 Correct 20 ms 23808 KB Output is correct
47 Correct 19 ms 23936 KB Output is correct
48 Correct 18 ms 23808 KB Output is correct
49 Correct 19 ms 23808 KB Output is correct
50 Correct 18 ms 23808 KB Output is correct
51 Correct 18 ms 23936 KB Output is correct
52 Correct 18 ms 23808 KB Output is correct
53 Correct 18 ms 23808 KB Output is correct
54 Correct 18 ms 23808 KB Output is correct
55 Correct 19 ms 23808 KB Output is correct
56 Correct 18 ms 23808 KB Output is correct
57 Correct 18 ms 23808 KB Output is correct
58 Correct 24 ms 23808 KB Output is correct
59 Correct 18 ms 23808 KB Output is correct
60 Correct 19 ms 23808 KB Output is correct
61 Correct 18 ms 23936 KB Output is correct
62 Correct 18 ms 23936 KB Output is correct
63 Correct 18 ms 23808 KB Output is correct
64 Correct 18 ms 23808 KB Output is correct
65 Correct 18 ms 23808 KB Output is correct
66 Correct 18 ms 23808 KB Output is correct
67 Correct 19 ms 23808 KB Output is correct
68 Correct 46 ms 29688 KB Output is correct
69 Correct 74 ms 37240 KB Output is correct
70 Correct 18 ms 23808 KB Output is correct
71 Correct 100 ms 44024 KB Output is correct
72 Correct 124 ms 50808 KB Output is correct
73 Correct 150 ms 57720 KB Output is correct
74 Correct 179 ms 64376 KB Output is correct
75 Correct 199 ms 71100 KB Output is correct
76 Correct 232 ms 77944 KB Output is correct
77 Correct 259 ms 84728 KB Output is correct
78 Correct 282 ms 91512 KB Output is correct
79 Correct 315 ms 98320 KB Output is correct
80 Correct 332 ms 105080 KB Output is correct
81 Correct 18 ms 23808 KB Output is correct
82 Correct 358 ms 111712 KB Output is correct
83 Correct 381 ms 118520 KB Output is correct
84 Correct 418 ms 125432 KB Output is correct
85 Correct 444 ms 132088 KB Output is correct
86 Correct 471 ms 138944 KB Output is correct
87 Correct 491 ms 145656 KB Output is correct
88 Correct 516 ms 152312 KB Output is correct
89 Correct 545 ms 156396 KB Output is correct
90 Correct 18 ms 23808 KB Output is correct
91 Correct 17 ms 23808 KB Output is correct
92 Correct 17 ms 23808 KB Output is correct
93 Correct 18 ms 23936 KB Output is correct
94 Correct 17 ms 23936 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 19 ms 23808 KB Output is correct
2 Correct 18 ms 23808 KB Output is correct
3 Correct 20 ms 23936 KB Output is correct
4 Correct 18 ms 23808 KB Output is correct
5 Correct 18 ms 23808 KB Output is correct
6 Correct 19 ms 23808 KB Output is correct
7 Correct 18 ms 23808 KB Output is correct
8 Correct 19 ms 23808 KB Output is correct
9 Correct 18 ms 23808 KB Output is correct
10 Correct 18 ms 23808 KB Output is correct
11 Correct 18 ms 23808 KB Output is correct
12 Correct 18 ms 23808 KB Output is correct
13 Correct 19 ms 23808 KB Output is correct
14 Correct 18 ms 23936 KB Output is correct
15 Correct 19 ms 23808 KB Output is correct
16 Correct 18 ms 23840 KB Output is correct
17 Correct 19 ms 23808 KB Output is correct
18 Correct 19 ms 23808 KB Output is correct
19 Correct 19 ms 23808 KB Output is correct
20 Correct 18 ms 23808 KB Output is correct
21 Correct 19 ms 23808 KB Output is correct
22 Correct 18 ms 23808 KB Output is correct
23 Correct 18 ms 23808 KB Output is correct
24 Correct 18 ms 23808 KB Output is correct
25 Correct 18 ms 23808 KB Output is correct
26 Correct 18 ms 23808 KB Output is correct
27 Correct 19 ms 23936 KB Output is correct
28 Correct 18 ms 23936 KB Output is correct
29 Correct 19 ms 23936 KB Output is correct
30 Correct 19 ms 23936 KB Output is correct
31 Correct 19 ms 23936 KB Output is correct
32 Correct 19 ms 23936 KB Output is correct
33 Correct 18 ms 23936 KB Output is correct
34 Correct 19 ms 23808 KB Output is correct
35 Correct 18 ms 23936 KB Output is correct
36 Correct 18 ms 23928 KB Output is correct
37 Correct 19 ms 23936 KB Output is correct
38 Correct 19 ms 23936 KB Output is correct
39 Correct 21 ms 23936 KB Output is correct
40 Correct 18 ms 23936 KB Output is correct
41 Correct 18 ms 23936 KB Output is correct
42 Correct 18 ms 23936 KB Output is correct
43 Correct 18 ms 23808 KB Output is correct
44 Correct 18 ms 23936 KB Output is correct
45 Correct 18 ms 23808 KB Output is correct
46 Correct 20 ms 23808 KB Output is correct
47 Correct 19 ms 23936 KB Output is correct
48 Correct 16 ms 23808 KB Output is correct
49 Correct 16 ms 23808 KB Output is correct
50 Correct 17 ms 23808 KB Output is correct
51 Correct 19 ms 23808 KB Output is correct
52 Correct 17 ms 23808 KB Output is correct
53 Correct 18 ms 23808 KB Output is correct
54 Correct 18 ms 23936 KB Output is correct
55 Correct 17 ms 23808 KB Output is correct
56 Correct 17 ms 23808 KB Output is correct
57 Correct 18 ms 23808 KB Output is correct
58 Correct 17 ms 23808 KB Output is correct
59 Correct 17 ms 23808 KB Output is correct
60 Correct 17 ms 23808 KB Output is correct
61 Correct 17 ms 23808 KB Output is correct
62 Correct 17 ms 23808 KB Output is correct
63 Correct 17 ms 23808 KB Output is correct
64 Correct 17 ms 23936 KB Output is correct
65 Correct 17 ms 23808 KB Output is correct
66 Correct 17 ms 23936 KB Output is correct
67 Correct 17 ms 23808 KB Output is correct
68 Correct 17 ms 23808 KB Output is correct
69 Correct 17 ms 23808 KB Output is correct
70 Correct 17 ms 23808 KB Output is correct
71 Correct 17 ms 23808 KB Output is correct
72 Correct 17 ms 23936 KB Output is correct
73 Correct 17 ms 23808 KB Output is correct
74 Correct 17 ms 23808 KB Output is correct
75 Correct 17 ms 23808 KB Output is correct
76 Correct 17 ms 23936 KB Output is correct
77 Correct 18 ms 23808 KB Output is correct
78 Correct 18 ms 23808 KB Output is correct
79 Correct 18 ms 23808 KB Output is correct
80 Correct 19 ms 23936 KB Output is correct
81 Correct 17 ms 23808 KB Output is correct
82 Correct 17 ms 23936 KB Output is correct
83 Correct 18 ms 23808 KB Output is correct
84 Correct 17 ms 23936 KB Output is correct
85 Correct 18 ms 23936 KB Output is correct
86 Correct 18 ms 23936 KB Output is correct
87 Correct 17 ms 23936 KB Output is correct
88 Correct 18 ms 23936 KB Output is correct
89 Correct 17 ms 23936 KB Output is correct
90 Correct 18 ms 23936 KB Output is correct
91 Correct 17 ms 23936 KB Output is correct
92 Correct 17 ms 23936 KB Output is correct
93 Correct 18 ms 23936 KB Output is correct
94 Correct 17 ms 23936 KB Output is correct
95 Correct 17 ms 23936 KB Output is correct
96 Correct 17 ms 23808 KB Output is correct
97 Correct 17 ms 23808 KB Output is correct
98 Correct 17 ms 23808 KB Output is correct
99 Correct 18 ms 23808 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 19 ms 23808 KB Output is correct
2 Correct 18 ms 23808 KB Output is correct
3 Correct 20 ms 23936 KB Output is correct
4 Correct 18 ms 23808 KB Output is correct
5 Correct 18 ms 23808 KB Output is correct
6 Correct 19 ms 23808 KB Output is correct
7 Correct 18 ms 23808 KB Output is correct
8 Correct 19 ms 23808 KB Output is correct
9 Correct 18 ms 23808 KB Output is correct
10 Correct 18 ms 23808 KB Output is correct
11 Correct 18 ms 23808 KB Output is correct
12 Correct 18 ms 23808 KB Output is correct
13 Correct 19 ms 23808 KB Output is correct
14 Correct 18 ms 23936 KB Output is correct
15 Correct 19 ms 23808 KB Output is correct
16 Correct 18 ms 23840 KB Output is correct
17 Correct 19 ms 23808 KB Output is correct
18 Correct 19 ms 23808 KB Output is correct
19 Correct 19 ms 23808 KB Output is correct
20 Correct 18 ms 23808 KB Output is correct
21 Correct 19 ms 23808 KB Output is correct
22 Correct 18 ms 23808 KB Output is correct
23 Correct 18 ms 23808 KB Output is correct
24 Correct 18 ms 23808 KB Output is correct
25 Correct 18 ms 23808 KB Output is correct
26 Correct 18 ms 23808 KB Output is correct
27 Correct 19 ms 23936 KB Output is correct
28 Correct 18 ms 23936 KB Output is correct
29 Correct 19 ms 23936 KB Output is correct
30 Correct 19 ms 23936 KB Output is correct
31 Correct 19 ms 23936 KB Output is correct
32 Correct 19 ms 23936 KB Output is correct
33 Correct 18 ms 23936 KB Output is correct
34 Correct 19 ms 23808 KB Output is correct
35 Correct 18 ms 23936 KB Output is correct
36 Correct 18 ms 23928 KB Output is correct
37 Correct 19 ms 23936 KB Output is correct
38 Correct 19 ms 23936 KB Output is correct
39 Correct 21 ms 23936 KB Output is correct
40 Correct 18 ms 23936 KB Output is correct
41 Correct 18 ms 23936 KB Output is correct
42 Correct 18 ms 23936 KB Output is correct
43 Correct 18 ms 23808 KB Output is correct
44 Correct 18 ms 23936 KB Output is correct
45 Correct 18 ms 23808 KB Output is correct
46 Correct 20 ms 23808 KB Output is correct
47 Correct 19 ms 23936 KB Output is correct
48 Correct 18 ms 23808 KB Output is correct
49 Correct 19 ms 23808 KB Output is correct
50 Correct 18 ms 23808 KB Output is correct
51 Correct 18 ms 23936 KB Output is correct
52 Correct 18 ms 23808 KB Output is correct
53 Correct 18 ms 23808 KB Output is correct
54 Correct 18 ms 23808 KB Output is correct
55 Correct 19 ms 23808 KB Output is correct
56 Correct 18 ms 23808 KB Output is correct
57 Correct 18 ms 23808 KB Output is correct
58 Correct 24 ms 23808 KB Output is correct
59 Correct 18 ms 23808 KB Output is correct
60 Correct 19 ms 23808 KB Output is correct
61 Correct 18 ms 23936 KB Output is correct
62 Correct 18 ms 23936 KB Output is correct
63 Correct 18 ms 23808 KB Output is correct
64 Correct 18 ms 23808 KB Output is correct
65 Correct 18 ms 23808 KB Output is correct
66 Correct 18 ms 23808 KB Output is correct
67 Correct 19 ms 23808 KB Output is correct
68 Correct 46 ms 29688 KB Output is correct
69 Correct 74 ms 37240 KB Output is correct
70 Correct 18 ms 23808 KB Output is correct
71 Correct 100 ms 44024 KB Output is correct
72 Correct 124 ms 50808 KB Output is correct
73 Correct 150 ms 57720 KB Output is correct
74 Correct 179 ms 64376 KB Output is correct
75 Correct 199 ms 71100 KB Output is correct
76 Correct 232 ms 77944 KB Output is correct
77 Correct 259 ms 84728 KB Output is correct
78 Correct 282 ms 91512 KB Output is correct
79 Correct 315 ms 98320 KB Output is correct
80 Correct 332 ms 105080 KB Output is correct
81 Correct 18 ms 23808 KB Output is correct
82 Correct 358 ms 111712 KB Output is correct
83 Correct 381 ms 118520 KB Output is correct
84 Correct 418 ms 125432 KB Output is correct
85 Correct 444 ms 132088 KB Output is correct
86 Correct 471 ms 138944 KB Output is correct
87 Correct 491 ms 145656 KB Output is correct
88 Correct 516 ms 152312 KB Output is correct
89 Correct 545 ms 156396 KB Output is correct
90 Correct 18 ms 23808 KB Output is correct
91 Correct 17 ms 23808 KB Output is correct
92 Correct 17 ms 23808 KB Output is correct
93 Correct 18 ms 23936 KB Output is correct
94 Correct 17 ms 23936 KB Output is correct
95 Correct 16 ms 23808 KB Output is correct
96 Correct 16 ms 23808 KB Output is correct
97 Correct 17 ms 23808 KB Output is correct
98 Correct 19 ms 23808 KB Output is correct
99 Correct 17 ms 23808 KB Output is correct
100 Correct 18 ms 23808 KB Output is correct
101 Correct 18 ms 23936 KB Output is correct
102 Correct 17 ms 23808 KB Output is correct
103 Correct 17 ms 23808 KB Output is correct
104 Correct 18 ms 23808 KB Output is correct
105 Correct 17 ms 23808 KB Output is correct
106 Correct 17 ms 23808 KB Output is correct
107 Correct 17 ms 23808 KB Output is correct
108 Correct 17 ms 23808 KB Output is correct
109 Correct 17 ms 23808 KB Output is correct
110 Correct 17 ms 23808 KB Output is correct
111 Correct 17 ms 23936 KB Output is correct
112 Correct 17 ms 23808 KB Output is correct
113 Correct 17 ms 23936 KB Output is correct
114 Correct 17 ms 23808 KB Output is correct
115 Correct 17 ms 23808 KB Output is correct
116 Correct 17 ms 23808 KB Output is correct
117 Correct 17 ms 23808 KB Output is correct
118 Correct 17 ms 23808 KB Output is correct
119 Correct 17 ms 23936 KB Output is correct
120 Correct 17 ms 23808 KB Output is correct
121 Correct 17 ms 23808 KB Output is correct
122 Correct 17 ms 23808 KB Output is correct
123 Correct 17 ms 23936 KB Output is correct
124 Correct 18 ms 23808 KB Output is correct
125 Correct 18 ms 23808 KB Output is correct
126 Correct 18 ms 23808 KB Output is correct
127 Correct 19 ms 23936 KB Output is correct
128 Correct 17 ms 23808 KB Output is correct
129 Correct 17 ms 23936 KB Output is correct
130 Correct 18 ms 23808 KB Output is correct
131 Correct 17 ms 23936 KB Output is correct
132 Correct 18 ms 23936 KB Output is correct
133 Correct 18 ms 23936 KB Output is correct
134 Correct 17 ms 23936 KB Output is correct
135 Correct 18 ms 23936 KB Output is correct
136 Correct 17 ms 23936 KB Output is correct
137 Correct 18 ms 23936 KB Output is correct
138 Correct 17 ms 23936 KB Output is correct
139 Correct 17 ms 23936 KB Output is correct
140 Correct 18 ms 23936 KB Output is correct
141 Correct 17 ms 23936 KB Output is correct
142 Correct 17 ms 23936 KB Output is correct
143 Correct 17 ms 23808 KB Output is correct
144 Correct 17 ms 23808 KB Output is correct
145 Correct 17 ms 23808 KB Output is correct
146 Correct 18 ms 23808 KB Output is correct
147 Correct 16 ms 23808 KB Output is correct
148 Correct 17 ms 23808 KB Output is correct
149 Correct 17 ms 23808 KB Output is correct
150 Correct 18 ms 23808 KB Output is correct
151 Correct 18 ms 23936 KB Output is correct
152 Correct 17 ms 23808 KB Output is correct
153 Correct 18 ms 23936 KB Output is correct
154 Correct 18 ms 23808 KB Output is correct
155 Correct 17 ms 23808 KB Output is correct
156 Correct 18 ms 23936 KB Output is correct
157 Correct 17 ms 23936 KB Output is correct
158 Correct 16 ms 23936 KB Output is correct
159 Correct 19 ms 23936 KB Output is correct
160 Correct 17 ms 23808 KB Output is correct
161 Correct 17 ms 23936 KB Output is correct
162 Correct 17 ms 23808 KB Output is correct
163 Correct 17 ms 23936 KB Output is correct
164 Correct 18 ms 23808 KB Output is correct
165 Correct 19 ms 23808 KB Output is correct
166 Correct 17 ms 23808 KB Output is correct
167 Correct 17 ms 23936 KB Output is correct
168 Correct 17 ms 23808 KB Output is correct
169 Correct 17 ms 23808 KB Output is correct
170 Correct 17 ms 23808 KB Output is correct
171 Correct 48 ms 27512 KB Output is correct
172 Correct 88 ms 31120 KB Output is correct
173 Correct 148 ms 34808 KB Output is correct
174 Correct 205 ms 38392 KB Output is correct
175 Correct 252 ms 42104 KB Output is correct
176 Correct 303 ms 45816 KB Output is correct
177 Correct 360 ms 49528 KB Output is correct
178 Correct 436 ms 53112 KB Output is correct
179 Correct 503 ms 57084 KB Output is correct
180 Correct 19 ms 23808 KB Output is correct
181 Correct 569 ms 60536 KB Output is correct
182 Correct 626 ms 64188 KB Output is correct
183 Correct 687 ms 67832 KB Output is correct
184 Correct 781 ms 71672 KB Output is correct
185 Correct 820 ms 75184 KB Output is correct
186 Correct 893 ms 78712 KB Output is correct
187 Correct 950 ms 82420 KB Output is correct
188 Correct 1006 ms 86168 KB Output is correct
189 Correct 1082 ms 89716 KB Output is correct
190 Correct 1148 ms 93304 KB Output is correct
191 Correct 18 ms 23912 KB Output is correct
192 Correct 1206 ms 94708 KB Output is correct
193 Correct 265 ms 90232 KB Output is correct
194 Correct 515 ms 156712 KB Output is correct
195 Correct 18 ms 23936 KB Output is correct
196 Correct 18 ms 23936 KB Output is correct
197 Correct 18 ms 23808 KB Output is correct
198 Correct 18 ms 23808 KB Output is correct