# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
270273 |
2020-08-17T13:45:35 Z |
shinjan |
Traffic (IOI10_traffic) |
C++14 |
|
1477 ms |
155220 KB |
#include <iostream>
#include <bits/stdc++.h>
#define maxN 1000001
using namespace std;
vector<int> drvo[maxN];
int subtree[maxN];
int fans[maxN];
pair<int,int> ans={-1,INT_MAX};
int dfs(int v,int par)
{
int sz=fans[v];
for(int x:drvo[v])
{
if(x!=par)
{
sz+=dfs(x,v);
}
}
subtree[v]=sz;
return sz;
}
void reshi(int v,int par)
{
int lokal=0;
if(par!=-1)
{
lokal=subtree[0]-subtree[v];
}
for(int x:drvo[v])
{
if(x!=par)
{
lokal=max(lokal,subtree[x]);
}
}
if(lokal<ans.second)
{
ans.second=lokal;
ans.first=v;
}
for(int x:drvo[v])
{
if(x!=par)
{
reshi(x,v);
}
}
}
int LocateCentre(int n,int p[],int s[],int d[])
{
for(int i=0;i<n-1;i++)
{
drvo[s[i]].push_back(d[i]);
drvo[d[i]].push_back(s[i]);
}
for(int i=0;i<n;i++)
{
fans[i]=p[i];
}
dfs(0,-1);
reshi(0,-1);
return ans.first;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
15 ms |
23808 KB |
Output is correct |
2 |
Correct |
15 ms |
23808 KB |
Output is correct |
3 |
Correct |
16 ms |
23808 KB |
Output is correct |
4 |
Correct |
17 ms |
23808 KB |
Output is correct |
5 |
Correct |
16 ms |
23808 KB |
Output is correct |
6 |
Correct |
18 ms |
23808 KB |
Output is correct |
7 |
Correct |
18 ms |
23808 KB |
Output is correct |
8 |
Correct |
18 ms |
23808 KB |
Output is correct |
9 |
Correct |
18 ms |
23808 KB |
Output is correct |
10 |
Correct |
17 ms |
23808 KB |
Output is correct |
11 |
Correct |
18 ms |
23808 KB |
Output is correct |
12 |
Correct |
15 ms |
23808 KB |
Output is correct |
13 |
Correct |
15 ms |
23808 KB |
Output is correct |
14 |
Correct |
15 ms |
23808 KB |
Output is correct |
15 |
Correct |
15 ms |
23936 KB |
Output is correct |
16 |
Correct |
16 ms |
23808 KB |
Output is correct |
17 |
Correct |
16 ms |
23808 KB |
Output is correct |
18 |
Correct |
16 ms |
23808 KB |
Output is correct |
19 |
Correct |
15 ms |
23808 KB |
Output is correct |
20 |
Correct |
15 ms |
23808 KB |
Output is correct |
21 |
Correct |
18 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 |
15 ms |
23808 KB |
Output is correct |
25 |
Correct |
15 ms |
23808 KB |
Output is correct |
26 |
Correct |
17 ms |
23816 KB |
Output is correct |
27 |
Correct |
16 ms |
23808 KB |
Output is correct |
28 |
Correct |
16 ms |
23936 KB |
Output is correct |
29 |
Correct |
15 ms |
23936 KB |
Output is correct |
30 |
Correct |
19 ms |
23936 KB |
Output is correct |
31 |
Correct |
15 ms |
23936 KB |
Output is correct |
32 |
Correct |
18 ms |
23936 KB |
Output is correct |
33 |
Correct |
15 ms |
23936 KB |
Output is correct |
34 |
Correct |
16 ms |
23808 KB |
Output is correct |
35 |
Correct |
17 ms |
23936 KB |
Output is correct |
36 |
Correct |
16 ms |
23936 KB |
Output is correct |
37 |
Correct |
16 ms |
23936 KB |
Output is correct |
38 |
Correct |
18 ms |
23936 KB |
Output is correct |
39 |
Correct |
16 ms |
23936 KB |
Output is correct |
40 |
Correct |
19 ms |
23936 KB |
Output is correct |
41 |
Correct |
15 ms |
23936 KB |
Output is correct |
42 |
Correct |
17 ms |
23936 KB |
Output is correct |
43 |
Correct |
15 ms |
23808 KB |
Output is correct |
44 |
Correct |
15 ms |
23808 KB |
Output is correct |
45 |
Correct |
15 ms |
23808 KB |
Output is correct |
46 |
Correct |
15 ms |
23808 KB |
Output is correct |
47 |
Correct |
18 ms |
23808 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
15 ms |
23808 KB |
Output is correct |
2 |
Correct |
15 ms |
23808 KB |
Output is correct |
3 |
Correct |
16 ms |
23808 KB |
Output is correct |
4 |
Correct |
17 ms |
23808 KB |
Output is correct |
5 |
Correct |
16 ms |
23808 KB |
Output is correct |
6 |
Correct |
18 ms |
23808 KB |
Output is correct |
7 |
Correct |
18 ms |
23808 KB |
Output is correct |
8 |
Correct |
18 ms |
23808 KB |
Output is correct |
9 |
Correct |
18 ms |
23808 KB |
Output is correct |
10 |
Correct |
17 ms |
23808 KB |
Output is correct |
11 |
Correct |
18 ms |
23808 KB |
Output is correct |
12 |
Correct |
15 ms |
23808 KB |
Output is correct |
13 |
Correct |
15 ms |
23808 KB |
Output is correct |
14 |
Correct |
15 ms |
23808 KB |
Output is correct |
15 |
Correct |
15 ms |
23936 KB |
Output is correct |
16 |
Correct |
16 ms |
23808 KB |
Output is correct |
17 |
Correct |
16 ms |
23808 KB |
Output is correct |
18 |
Correct |
16 ms |
23808 KB |
Output is correct |
19 |
Correct |
15 ms |
23808 KB |
Output is correct |
20 |
Correct |
15 ms |
23808 KB |
Output is correct |
21 |
Correct |
18 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 |
15 ms |
23808 KB |
Output is correct |
25 |
Correct |
15 ms |
23808 KB |
Output is correct |
26 |
Correct |
17 ms |
23816 KB |
Output is correct |
27 |
Correct |
16 ms |
23808 KB |
Output is correct |
28 |
Correct |
16 ms |
23936 KB |
Output is correct |
29 |
Correct |
15 ms |
23936 KB |
Output is correct |
30 |
Correct |
19 ms |
23936 KB |
Output is correct |
31 |
Correct |
15 ms |
23936 KB |
Output is correct |
32 |
Correct |
18 ms |
23936 KB |
Output is correct |
33 |
Correct |
15 ms |
23936 KB |
Output is correct |
34 |
Correct |
16 ms |
23808 KB |
Output is correct |
35 |
Correct |
17 ms |
23936 KB |
Output is correct |
36 |
Correct |
16 ms |
23936 KB |
Output is correct |
37 |
Correct |
16 ms |
23936 KB |
Output is correct |
38 |
Correct |
18 ms |
23936 KB |
Output is correct |
39 |
Correct |
16 ms |
23936 KB |
Output is correct |
40 |
Correct |
19 ms |
23936 KB |
Output is correct |
41 |
Correct |
15 ms |
23936 KB |
Output is correct |
42 |
Correct |
17 ms |
23936 KB |
Output is correct |
43 |
Correct |
15 ms |
23808 KB |
Output is correct |
44 |
Correct |
15 ms |
23808 KB |
Output is correct |
45 |
Correct |
15 ms |
23808 KB |
Output is correct |
46 |
Correct |
15 ms |
23808 KB |
Output is correct |
47 |
Correct |
18 ms |
23808 KB |
Output is correct |
48 |
Correct |
15 ms |
23808 KB |
Output is correct |
49 |
Correct |
15 ms |
23808 KB |
Output is correct |
50 |
Correct |
18 ms |
23800 KB |
Output is correct |
51 |
Correct |
15 ms |
23808 KB |
Output is correct |
52 |
Correct |
18 ms |
23808 KB |
Output is correct |
53 |
Correct |
15 ms |
23808 KB |
Output is correct |
54 |
Correct |
15 ms |
23808 KB |
Output is correct |
55 |
Correct |
15 ms |
23808 KB |
Output is correct |
56 |
Correct |
15 ms |
23808 KB |
Output is correct |
57 |
Correct |
15 ms |
23808 KB |
Output is correct |
58 |
Correct |
15 ms |
23808 KB |
Output is correct |
59 |
Correct |
15 ms |
23808 KB |
Output is correct |
60 |
Correct |
15 ms |
23808 KB |
Output is correct |
61 |
Correct |
15 ms |
23808 KB |
Output is correct |
62 |
Correct |
17 ms |
23808 KB |
Output is correct |
63 |
Correct |
15 ms |
23808 KB |
Output is correct |
64 |
Correct |
15 ms |
23808 KB |
Output is correct |
65 |
Correct |
17 ms |
23808 KB |
Output is correct |
66 |
Correct |
15 ms |
23808 KB |
Output is correct |
67 |
Correct |
15 ms |
23808 KB |
Output is correct |
68 |
Correct |
43 ms |
30464 KB |
Output is correct |
69 |
Correct |
71 ms |
36856 KB |
Output is correct |
70 |
Correct |
16 ms |
23808 KB |
Output is correct |
71 |
Correct |
111 ms |
43512 KB |
Output is correct |
72 |
Correct |
125 ms |
50040 KB |
Output is correct |
73 |
Correct |
153 ms |
56568 KB |
Output is correct |
74 |
Correct |
179 ms |
63220 KB |
Output is correct |
75 |
Correct |
207 ms |
69752 KB |
Output is correct |
76 |
Correct |
229 ms |
76408 KB |
Output is correct |
77 |
Correct |
271 ms |
83064 KB |
Output is correct |
78 |
Correct |
296 ms |
89592 KB |
Output is correct |
79 |
Correct |
317 ms |
96156 KB |
Output is correct |
80 |
Correct |
348 ms |
102724 KB |
Output is correct |
81 |
Correct |
15 ms |
23808 KB |
Output is correct |
82 |
Correct |
377 ms |
109176 KB |
Output is correct |
83 |
Correct |
412 ms |
115832 KB |
Output is correct |
84 |
Correct |
446 ms |
122488 KB |
Output is correct |
85 |
Correct |
472 ms |
129016 KB |
Output is correct |
86 |
Correct |
509 ms |
135544 KB |
Output is correct |
87 |
Correct |
550 ms |
142124 KB |
Output is correct |
88 |
Correct |
540 ms |
148604 KB |
Output is correct |
89 |
Correct |
603 ms |
155220 KB |
Output is correct |
90 |
Correct |
26 ms |
23800 KB |
Output is correct |
91 |
Correct |
17 ms |
23808 KB |
Output is correct |
92 |
Correct |
15 ms |
23936 KB |
Output is correct |
93 |
Correct |
15 ms |
23808 KB |
Output is correct |
94 |
Correct |
18 ms |
23808 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
15 ms |
23808 KB |
Output is correct |
2 |
Correct |
15 ms |
23808 KB |
Output is correct |
3 |
Correct |
16 ms |
23808 KB |
Output is correct |
4 |
Correct |
17 ms |
23808 KB |
Output is correct |
5 |
Correct |
16 ms |
23808 KB |
Output is correct |
6 |
Correct |
18 ms |
23808 KB |
Output is correct |
7 |
Correct |
18 ms |
23808 KB |
Output is correct |
8 |
Correct |
18 ms |
23808 KB |
Output is correct |
9 |
Correct |
18 ms |
23808 KB |
Output is correct |
10 |
Correct |
17 ms |
23808 KB |
Output is correct |
11 |
Correct |
18 ms |
23808 KB |
Output is correct |
12 |
Correct |
15 ms |
23808 KB |
Output is correct |
13 |
Correct |
15 ms |
23808 KB |
Output is correct |
14 |
Correct |
15 ms |
23808 KB |
Output is correct |
15 |
Correct |
15 ms |
23936 KB |
Output is correct |
16 |
Correct |
16 ms |
23808 KB |
Output is correct |
17 |
Correct |
16 ms |
23808 KB |
Output is correct |
18 |
Correct |
16 ms |
23808 KB |
Output is correct |
19 |
Correct |
15 ms |
23808 KB |
Output is correct |
20 |
Correct |
15 ms |
23808 KB |
Output is correct |
21 |
Correct |
18 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 |
15 ms |
23808 KB |
Output is correct |
25 |
Correct |
15 ms |
23808 KB |
Output is correct |
26 |
Correct |
17 ms |
23816 KB |
Output is correct |
27 |
Correct |
16 ms |
23808 KB |
Output is correct |
28 |
Correct |
16 ms |
23936 KB |
Output is correct |
29 |
Correct |
15 ms |
23936 KB |
Output is correct |
30 |
Correct |
19 ms |
23936 KB |
Output is correct |
31 |
Correct |
15 ms |
23936 KB |
Output is correct |
32 |
Correct |
18 ms |
23936 KB |
Output is correct |
33 |
Correct |
15 ms |
23936 KB |
Output is correct |
34 |
Correct |
16 ms |
23808 KB |
Output is correct |
35 |
Correct |
17 ms |
23936 KB |
Output is correct |
36 |
Correct |
16 ms |
23936 KB |
Output is correct |
37 |
Correct |
16 ms |
23936 KB |
Output is correct |
38 |
Correct |
18 ms |
23936 KB |
Output is correct |
39 |
Correct |
16 ms |
23936 KB |
Output is correct |
40 |
Correct |
19 ms |
23936 KB |
Output is correct |
41 |
Correct |
15 ms |
23936 KB |
Output is correct |
42 |
Correct |
17 ms |
23936 KB |
Output is correct |
43 |
Correct |
15 ms |
23808 KB |
Output is correct |
44 |
Correct |
15 ms |
23808 KB |
Output is correct |
45 |
Correct |
15 ms |
23808 KB |
Output is correct |
46 |
Correct |
15 ms |
23808 KB |
Output is correct |
47 |
Correct |
18 ms |
23808 KB |
Output is correct |
48 |
Correct |
15 ms |
23808 KB |
Output is correct |
49 |
Correct |
15 ms |
23936 KB |
Output is correct |
50 |
Correct |
17 ms |
23808 KB |
Output is correct |
51 |
Correct |
15 ms |
23808 KB |
Output is correct |
52 |
Correct |
15 ms |
23808 KB |
Output is correct |
53 |
Correct |
15 ms |
23784 KB |
Output is correct |
54 |
Correct |
15 ms |
23808 KB |
Output is correct |
55 |
Correct |
15 ms |
23808 KB |
Output is correct |
56 |
Correct |
20 ms |
23808 KB |
Output is correct |
57 |
Correct |
15 ms |
23808 KB |
Output is correct |
58 |
Correct |
15 ms |
23808 KB |
Output is correct |
59 |
Correct |
21 ms |
23808 KB |
Output is correct |
60 |
Correct |
15 ms |
23808 KB |
Output is correct |
61 |
Correct |
15 ms |
23808 KB |
Output is correct |
62 |
Correct |
15 ms |
23808 KB |
Output is correct |
63 |
Correct |
15 ms |
23808 KB |
Output is correct |
64 |
Correct |
19 ms |
23808 KB |
Output is correct |
65 |
Correct |
15 ms |
23808 KB |
Output is correct |
66 |
Correct |
15 ms |
23808 KB |
Output is correct |
67 |
Correct |
18 ms |
23808 KB |
Output is correct |
68 |
Correct |
15 ms |
23808 KB |
Output is correct |
69 |
Correct |
15 ms |
23808 KB |
Output is correct |
70 |
Correct |
16 ms |
23808 KB |
Output is correct |
71 |
Correct |
17 ms |
23808 KB |
Output is correct |
72 |
Correct |
18 ms |
23808 KB |
Output is correct |
73 |
Correct |
15 ms |
23808 KB |
Output is correct |
74 |
Correct |
15 ms |
23808 KB |
Output is correct |
75 |
Correct |
15 ms |
23808 KB |
Output is correct |
76 |
Correct |
15 ms |
23808 KB |
Output is correct |
77 |
Correct |
19 ms |
23808 KB |
Output is correct |
78 |
Correct |
15 ms |
23808 KB |
Output is correct |
79 |
Correct |
15 ms |
23808 KB |
Output is correct |
80 |
Correct |
15 ms |
23808 KB |
Output is correct |
81 |
Correct |
16 ms |
23840 KB |
Output is correct |
82 |
Correct |
15 ms |
23808 KB |
Output is correct |
83 |
Correct |
15 ms |
23936 KB |
Output is correct |
84 |
Correct |
16 ms |
23936 KB |
Output is correct |
85 |
Correct |
15 ms |
23936 KB |
Output is correct |
86 |
Correct |
15 ms |
23936 KB |
Output is correct |
87 |
Correct |
16 ms |
23936 KB |
Output is correct |
88 |
Correct |
16 ms |
23936 KB |
Output is correct |
89 |
Correct |
16 ms |
23936 KB |
Output is correct |
90 |
Correct |
15 ms |
23936 KB |
Output is correct |
91 |
Correct |
16 ms |
23936 KB |
Output is correct |
92 |
Correct |
16 ms |
23808 KB |
Output is correct |
93 |
Correct |
16 ms |
23936 KB |
Output is correct |
94 |
Correct |
15 ms |
23936 KB |
Output is correct |
95 |
Correct |
16 ms |
23936 KB |
Output is correct |
96 |
Correct |
15 ms |
23808 KB |
Output is correct |
97 |
Correct |
15 ms |
23808 KB |
Output is correct |
98 |
Correct |
15 ms |
23808 KB |
Output is correct |
99 |
Correct |
16 ms |
23808 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
15 ms |
23808 KB |
Output is correct |
2 |
Correct |
15 ms |
23808 KB |
Output is correct |
3 |
Correct |
16 ms |
23808 KB |
Output is correct |
4 |
Correct |
17 ms |
23808 KB |
Output is correct |
5 |
Correct |
16 ms |
23808 KB |
Output is correct |
6 |
Correct |
18 ms |
23808 KB |
Output is correct |
7 |
Correct |
18 ms |
23808 KB |
Output is correct |
8 |
Correct |
18 ms |
23808 KB |
Output is correct |
9 |
Correct |
18 ms |
23808 KB |
Output is correct |
10 |
Correct |
17 ms |
23808 KB |
Output is correct |
11 |
Correct |
18 ms |
23808 KB |
Output is correct |
12 |
Correct |
15 ms |
23808 KB |
Output is correct |
13 |
Correct |
15 ms |
23808 KB |
Output is correct |
14 |
Correct |
15 ms |
23808 KB |
Output is correct |
15 |
Correct |
15 ms |
23936 KB |
Output is correct |
16 |
Correct |
16 ms |
23808 KB |
Output is correct |
17 |
Correct |
16 ms |
23808 KB |
Output is correct |
18 |
Correct |
16 ms |
23808 KB |
Output is correct |
19 |
Correct |
15 ms |
23808 KB |
Output is correct |
20 |
Correct |
15 ms |
23808 KB |
Output is correct |
21 |
Correct |
18 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 |
15 ms |
23808 KB |
Output is correct |
25 |
Correct |
15 ms |
23808 KB |
Output is correct |
26 |
Correct |
17 ms |
23816 KB |
Output is correct |
27 |
Correct |
16 ms |
23808 KB |
Output is correct |
28 |
Correct |
16 ms |
23936 KB |
Output is correct |
29 |
Correct |
15 ms |
23936 KB |
Output is correct |
30 |
Correct |
19 ms |
23936 KB |
Output is correct |
31 |
Correct |
15 ms |
23936 KB |
Output is correct |
32 |
Correct |
18 ms |
23936 KB |
Output is correct |
33 |
Correct |
15 ms |
23936 KB |
Output is correct |
34 |
Correct |
16 ms |
23808 KB |
Output is correct |
35 |
Correct |
17 ms |
23936 KB |
Output is correct |
36 |
Correct |
16 ms |
23936 KB |
Output is correct |
37 |
Correct |
16 ms |
23936 KB |
Output is correct |
38 |
Correct |
18 ms |
23936 KB |
Output is correct |
39 |
Correct |
16 ms |
23936 KB |
Output is correct |
40 |
Correct |
19 ms |
23936 KB |
Output is correct |
41 |
Correct |
15 ms |
23936 KB |
Output is correct |
42 |
Correct |
17 ms |
23936 KB |
Output is correct |
43 |
Correct |
15 ms |
23808 KB |
Output is correct |
44 |
Correct |
15 ms |
23808 KB |
Output is correct |
45 |
Correct |
15 ms |
23808 KB |
Output is correct |
46 |
Correct |
15 ms |
23808 KB |
Output is correct |
47 |
Correct |
18 ms |
23808 KB |
Output is correct |
48 |
Correct |
15 ms |
23808 KB |
Output is correct |
49 |
Correct |
15 ms |
23808 KB |
Output is correct |
50 |
Correct |
18 ms |
23800 KB |
Output is correct |
51 |
Correct |
15 ms |
23808 KB |
Output is correct |
52 |
Correct |
18 ms |
23808 KB |
Output is correct |
53 |
Correct |
15 ms |
23808 KB |
Output is correct |
54 |
Correct |
15 ms |
23808 KB |
Output is correct |
55 |
Correct |
15 ms |
23808 KB |
Output is correct |
56 |
Correct |
15 ms |
23808 KB |
Output is correct |
57 |
Correct |
15 ms |
23808 KB |
Output is correct |
58 |
Correct |
15 ms |
23808 KB |
Output is correct |
59 |
Correct |
15 ms |
23808 KB |
Output is correct |
60 |
Correct |
15 ms |
23808 KB |
Output is correct |
61 |
Correct |
15 ms |
23808 KB |
Output is correct |
62 |
Correct |
17 ms |
23808 KB |
Output is correct |
63 |
Correct |
15 ms |
23808 KB |
Output is correct |
64 |
Correct |
15 ms |
23808 KB |
Output is correct |
65 |
Correct |
17 ms |
23808 KB |
Output is correct |
66 |
Correct |
15 ms |
23808 KB |
Output is correct |
67 |
Correct |
15 ms |
23808 KB |
Output is correct |
68 |
Correct |
43 ms |
30464 KB |
Output is correct |
69 |
Correct |
71 ms |
36856 KB |
Output is correct |
70 |
Correct |
16 ms |
23808 KB |
Output is correct |
71 |
Correct |
111 ms |
43512 KB |
Output is correct |
72 |
Correct |
125 ms |
50040 KB |
Output is correct |
73 |
Correct |
153 ms |
56568 KB |
Output is correct |
74 |
Correct |
179 ms |
63220 KB |
Output is correct |
75 |
Correct |
207 ms |
69752 KB |
Output is correct |
76 |
Correct |
229 ms |
76408 KB |
Output is correct |
77 |
Correct |
271 ms |
83064 KB |
Output is correct |
78 |
Correct |
296 ms |
89592 KB |
Output is correct |
79 |
Correct |
317 ms |
96156 KB |
Output is correct |
80 |
Correct |
348 ms |
102724 KB |
Output is correct |
81 |
Correct |
15 ms |
23808 KB |
Output is correct |
82 |
Correct |
377 ms |
109176 KB |
Output is correct |
83 |
Correct |
412 ms |
115832 KB |
Output is correct |
84 |
Correct |
446 ms |
122488 KB |
Output is correct |
85 |
Correct |
472 ms |
129016 KB |
Output is correct |
86 |
Correct |
509 ms |
135544 KB |
Output is correct |
87 |
Correct |
550 ms |
142124 KB |
Output is correct |
88 |
Correct |
540 ms |
148604 KB |
Output is correct |
89 |
Correct |
603 ms |
155220 KB |
Output is correct |
90 |
Correct |
26 ms |
23800 KB |
Output is correct |
91 |
Correct |
17 ms |
23808 KB |
Output is correct |
92 |
Correct |
15 ms |
23936 KB |
Output is correct |
93 |
Correct |
15 ms |
23808 KB |
Output is correct |
94 |
Correct |
18 ms |
23808 KB |
Output is correct |
95 |
Correct |
15 ms |
23808 KB |
Output is correct |
96 |
Correct |
15 ms |
23936 KB |
Output is correct |
97 |
Correct |
17 ms |
23808 KB |
Output is correct |
98 |
Correct |
15 ms |
23808 KB |
Output is correct |
99 |
Correct |
15 ms |
23808 KB |
Output is correct |
100 |
Correct |
15 ms |
23784 KB |
Output is correct |
101 |
Correct |
15 ms |
23808 KB |
Output is correct |
102 |
Correct |
15 ms |
23808 KB |
Output is correct |
103 |
Correct |
20 ms |
23808 KB |
Output is correct |
104 |
Correct |
15 ms |
23808 KB |
Output is correct |
105 |
Correct |
15 ms |
23808 KB |
Output is correct |
106 |
Correct |
21 ms |
23808 KB |
Output is correct |
107 |
Correct |
15 ms |
23808 KB |
Output is correct |
108 |
Correct |
15 ms |
23808 KB |
Output is correct |
109 |
Correct |
15 ms |
23808 KB |
Output is correct |
110 |
Correct |
15 ms |
23808 KB |
Output is correct |
111 |
Correct |
19 ms |
23808 KB |
Output is correct |
112 |
Correct |
15 ms |
23808 KB |
Output is correct |
113 |
Correct |
15 ms |
23808 KB |
Output is correct |
114 |
Correct |
18 ms |
23808 KB |
Output is correct |
115 |
Correct |
15 ms |
23808 KB |
Output is correct |
116 |
Correct |
15 ms |
23808 KB |
Output is correct |
117 |
Correct |
16 ms |
23808 KB |
Output is correct |
118 |
Correct |
17 ms |
23808 KB |
Output is correct |
119 |
Correct |
18 ms |
23808 KB |
Output is correct |
120 |
Correct |
15 ms |
23808 KB |
Output is correct |
121 |
Correct |
15 ms |
23808 KB |
Output is correct |
122 |
Correct |
15 ms |
23808 KB |
Output is correct |
123 |
Correct |
15 ms |
23808 KB |
Output is correct |
124 |
Correct |
19 ms |
23808 KB |
Output is correct |
125 |
Correct |
15 ms |
23808 KB |
Output is correct |
126 |
Correct |
15 ms |
23808 KB |
Output is correct |
127 |
Correct |
15 ms |
23808 KB |
Output is correct |
128 |
Correct |
16 ms |
23840 KB |
Output is correct |
129 |
Correct |
15 ms |
23808 KB |
Output is correct |
130 |
Correct |
15 ms |
23936 KB |
Output is correct |
131 |
Correct |
16 ms |
23936 KB |
Output is correct |
132 |
Correct |
15 ms |
23936 KB |
Output is correct |
133 |
Correct |
15 ms |
23936 KB |
Output is correct |
134 |
Correct |
16 ms |
23936 KB |
Output is correct |
135 |
Correct |
16 ms |
23936 KB |
Output is correct |
136 |
Correct |
16 ms |
23936 KB |
Output is correct |
137 |
Correct |
15 ms |
23936 KB |
Output is correct |
138 |
Correct |
16 ms |
23936 KB |
Output is correct |
139 |
Correct |
16 ms |
23808 KB |
Output is correct |
140 |
Correct |
16 ms |
23936 KB |
Output is correct |
141 |
Correct |
15 ms |
23936 KB |
Output is correct |
142 |
Correct |
16 ms |
23936 KB |
Output is correct |
143 |
Correct |
15 ms |
23808 KB |
Output is correct |
144 |
Correct |
15 ms |
23808 KB |
Output is correct |
145 |
Correct |
15 ms |
23808 KB |
Output is correct |
146 |
Correct |
16 ms |
23808 KB |
Output is correct |
147 |
Correct |
15 ms |
23808 KB |
Output is correct |
148 |
Correct |
16 ms |
23936 KB |
Output is correct |
149 |
Correct |
15 ms |
23808 KB |
Output is correct |
150 |
Correct |
15 ms |
23776 KB |
Output is correct |
151 |
Correct |
17 ms |
23808 KB |
Output is correct |
152 |
Correct |
15 ms |
23808 KB |
Output is correct |
153 |
Correct |
15 ms |
23808 KB |
Output is correct |
154 |
Correct |
15 ms |
23808 KB |
Output is correct |
155 |
Correct |
15 ms |
23808 KB |
Output is correct |
156 |
Correct |
17 ms |
23808 KB |
Output is correct |
157 |
Correct |
15 ms |
23808 KB |
Output is correct |
158 |
Correct |
15 ms |
23808 KB |
Output is correct |
159 |
Correct |
15 ms |
23808 KB |
Output is correct |
160 |
Correct |
17 ms |
23808 KB |
Output is correct |
161 |
Correct |
16 ms |
23808 KB |
Output is correct |
162 |
Correct |
15 ms |
23808 KB |
Output is correct |
163 |
Correct |
15 ms |
23808 KB |
Output is correct |
164 |
Correct |
15 ms |
23808 KB |
Output is correct |
165 |
Correct |
15 ms |
23808 KB |
Output is correct |
166 |
Correct |
17 ms |
23808 KB |
Output is correct |
167 |
Correct |
16 ms |
23808 KB |
Output is correct |
168 |
Correct |
16 ms |
23936 KB |
Output is correct |
169 |
Correct |
16 ms |
23808 KB |
Output is correct |
170 |
Correct |
15 ms |
23808 KB |
Output is correct |
171 |
Correct |
51 ms |
27256 KB |
Output is correct |
172 |
Correct |
91 ms |
30712 KB |
Output is correct |
173 |
Correct |
162 ms |
34296 KB |
Output is correct |
174 |
Correct |
225 ms |
37752 KB |
Output is correct |
175 |
Correct |
302 ms |
41080 KB |
Output is correct |
176 |
Correct |
373 ms |
44600 KB |
Output is correct |
177 |
Correct |
460 ms |
48120 KB |
Output is correct |
178 |
Correct |
555 ms |
51448 KB |
Output is correct |
179 |
Correct |
624 ms |
55032 KB |
Output is correct |
180 |
Correct |
15 ms |
23808 KB |
Output is correct |
181 |
Correct |
804 ms |
58488 KB |
Output is correct |
182 |
Correct |
743 ms |
61944 KB |
Output is correct |
183 |
Correct |
853 ms |
65528 KB |
Output is correct |
184 |
Correct |
893 ms |
68984 KB |
Output is correct |
185 |
Correct |
967 ms |
72312 KB |
Output is correct |
186 |
Correct |
1134 ms |
76052 KB |
Output is correct |
187 |
Correct |
1095 ms |
79436 KB |
Output is correct |
188 |
Correct |
1173 ms |
82936 KB |
Output is correct |
189 |
Correct |
1250 ms |
86376 KB |
Output is correct |
190 |
Correct |
1320 ms |
89644 KB |
Output is correct |
191 |
Correct |
18 ms |
23808 KB |
Output is correct |
192 |
Correct |
1477 ms |
93264 KB |
Output is correct |
193 |
Correct |
267 ms |
88184 KB |
Output is correct |
194 |
Correct |
547 ms |
152828 KB |
Output is correct |
195 |
Correct |
15 ms |
23808 KB |
Output is correct |
196 |
Correct |
15 ms |
23808 KB |
Output is correct |
197 |
Correct |
15 ms |
23808 KB |
Output is correct |
198 |
Correct |
15 ms |
23808 KB |
Output is correct |