답안 #958537

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
958537 2024-04-06T01:49:56 Z Cyber_Wolf 철인 이종 경기 (APIO18_duathlon) C++17
100 / 100
81 ms 39116 KB
#include <bits/stdc++.h>

using namespace std;

#define lg long long
#define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);

const lg N = 2e5+5;

vector<lg> adj[N],adj2[N], p, comps[N];
lg low[N], ans, n, m, artic[N], tin[N], tmp, vis[N], id[N], ids, sz[N], n2;

void dfs(lg src, lg par = -1)
{
	low[src] = tin[src] = ++tmp;
	n2++;
	p.push_back(src);
	for(auto it : adj[src])
	{
		if(it == par)
		{
			continue;
		}
		if(tin[it])
		{
			low[src] = min(low[src], tin[it]);
			continue;
		}
		dfs(it, src);
		low[src] = min(low[src], low[it]);
		if(low[it] >= tin[src])
		{
			artic[src] = (tin[src] > 1 || tin[it] > 2);	
			ids++;
			adj2[src].push_back(n+ids);
			while(adj2[n+ids].empty() || adj2[n+ids].back() != it)
			{
				adj2[n+ids].push_back(p.back());
				p.pop_back();
			}
		}
	}
}

void dfs2(lg src)
{
	sz[src] = (src <= n);
	vis[src] = true;
	lg x = adj2[src].size();
	for(auto it : adj2[src])
	{
		if(vis[it])	continue;
		dfs2(it);
		sz[src] += sz[it];
		if(src > n)
		{
			ans -= sz[it]*(sz[it]-1)*x;
		}
	}
	if(src > n)
	{
		ans -= (n2-sz[src])*(n2-sz[src]-1)*x;
	}
}

int main()
{
	fastio;
	cin >> n >> m;
	for(int i = 0; i < m; i++)
	{
		lg u, v;
		cin >> u >> v;
		adj[u].push_back(v);
		adj[v].push_back(u);
	}
	for(int i = 1; i <= n; i++)
	{
		if(tin[i])	continue;
		n2 = 0;
		dfs(i);
		ans += n2*(n2-1)*(n2-2);
		dfs2(i);
	}
	cout << ans << '\n';

    return 0;
}

/*
123 c
124 c
134 c
132 x
142 x
143 x



*/
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 19700 KB Output is correct
2 Correct 5 ms 19548 KB Output is correct
3 Correct 4 ms 19548 KB Output is correct
4 Correct 4 ms 19548 KB Output is correct
5 Correct 5 ms 19548 KB Output is correct
6 Correct 4 ms 19548 KB Output is correct
7 Correct 4 ms 19548 KB Output is correct
8 Correct 4 ms 19548 KB Output is correct
9 Correct 4 ms 19544 KB Output is correct
10 Correct 4 ms 19548 KB Output is correct
11 Correct 5 ms 19652 KB Output is correct
12 Correct 4 ms 19656 KB Output is correct
13 Correct 5 ms 19544 KB Output is correct
14 Correct 4 ms 19548 KB Output is correct
15 Correct 5 ms 19652 KB Output is correct
16 Correct 4 ms 19548 KB Output is correct
17 Correct 4 ms 19548 KB Output is correct
18 Correct 4 ms 19544 KB Output is correct
19 Correct 4 ms 19656 KB Output is correct
20 Correct 4 ms 19548 KB Output is correct
21 Correct 5 ms 19548 KB Output is correct
22 Correct 4 ms 19544 KB Output is correct
23 Correct 4 ms 19548 KB Output is correct
24 Correct 5 ms 19548 KB Output is correct
25 Correct 4 ms 19548 KB Output is correct
26 Correct 4 ms 19548 KB Output is correct
27 Correct 6 ms 19804 KB Output is correct
28 Correct 4 ms 19548 KB Output is correct
29 Correct 4 ms 19548 KB Output is correct
30 Correct 4 ms 19548 KB Output is correct
31 Correct 4 ms 19548 KB Output is correct
32 Correct 4 ms 19548 KB Output is correct
33 Correct 4 ms 19548 KB Output is correct
34 Correct 4 ms 19548 KB Output is correct
35 Correct 4 ms 19548 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 19700 KB Output is correct
2 Correct 5 ms 19548 KB Output is correct
3 Correct 4 ms 19548 KB Output is correct
4 Correct 4 ms 19548 KB Output is correct
5 Correct 5 ms 19548 KB Output is correct
6 Correct 4 ms 19548 KB Output is correct
7 Correct 4 ms 19548 KB Output is correct
8 Correct 4 ms 19548 KB Output is correct
9 Correct 4 ms 19544 KB Output is correct
10 Correct 4 ms 19548 KB Output is correct
11 Correct 5 ms 19652 KB Output is correct
12 Correct 4 ms 19656 KB Output is correct
13 Correct 5 ms 19544 KB Output is correct
14 Correct 4 ms 19548 KB Output is correct
15 Correct 5 ms 19652 KB Output is correct
16 Correct 4 ms 19548 KB Output is correct
17 Correct 4 ms 19548 KB Output is correct
18 Correct 4 ms 19544 KB Output is correct
19 Correct 4 ms 19656 KB Output is correct
20 Correct 4 ms 19548 KB Output is correct
21 Correct 5 ms 19548 KB Output is correct
22 Correct 4 ms 19544 KB Output is correct
23 Correct 4 ms 19548 KB Output is correct
24 Correct 5 ms 19548 KB Output is correct
25 Correct 4 ms 19548 KB Output is correct
26 Correct 4 ms 19548 KB Output is correct
27 Correct 6 ms 19804 KB Output is correct
28 Correct 4 ms 19548 KB Output is correct
29 Correct 4 ms 19548 KB Output is correct
30 Correct 4 ms 19548 KB Output is correct
31 Correct 4 ms 19548 KB Output is correct
32 Correct 4 ms 19548 KB Output is correct
33 Correct 4 ms 19548 KB Output is correct
34 Correct 4 ms 19548 KB Output is correct
35 Correct 4 ms 19548 KB Output is correct
36 Correct 4 ms 19548 KB Output is correct
37 Correct 4 ms 19548 KB Output is correct
38 Correct 5 ms 19548 KB Output is correct
39 Correct 4 ms 19544 KB Output is correct
40 Correct 4 ms 19544 KB Output is correct
41 Correct 4 ms 19664 KB Output is correct
42 Correct 4 ms 19548 KB Output is correct
43 Correct 4 ms 19652 KB Output is correct
44 Correct 5 ms 19548 KB Output is correct
45 Correct 4 ms 19548 KB Output is correct
46 Correct 5 ms 19548 KB Output is correct
47 Correct 4 ms 19608 KB Output is correct
48 Correct 4 ms 19548 KB Output is correct
49 Correct 5 ms 19548 KB Output is correct
50 Correct 5 ms 19548 KB Output is correct
51 Correct 4 ms 19548 KB Output is correct
52 Correct 4 ms 19548 KB Output is correct
53 Correct 5 ms 19804 KB Output is correct
54 Correct 4 ms 19640 KB Output is correct
55 Correct 4 ms 19548 KB Output is correct
56 Correct 4 ms 19612 KB Output is correct
57 Correct 4 ms 19656 KB Output is correct
58 Correct 4 ms 19548 KB Output is correct
59 Correct 4 ms 19548 KB Output is correct
60 Correct 4 ms 19548 KB Output is correct
61 Correct 4 ms 19800 KB Output is correct
62 Correct 4 ms 19548 KB Output is correct
63 Correct 4 ms 19548 KB Output is correct
64 Correct 4 ms 19544 KB Output is correct
65 Correct 4 ms 19548 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 55 ms 37176 KB Output is correct
2 Correct 49 ms 36936 KB Output is correct
3 Correct 60 ms 34052 KB Output is correct
4 Correct 56 ms 37776 KB Output is correct
5 Correct 54 ms 32472 KB Output is correct
6 Correct 57 ms 34380 KB Output is correct
7 Correct 71 ms 32972 KB Output is correct
8 Correct 62 ms 33748 KB Output is correct
9 Correct 56 ms 31544 KB Output is correct
10 Correct 52 ms 31692 KB Output is correct
11 Correct 58 ms 29144 KB Output is correct
12 Correct 50 ms 28780 KB Output is correct
13 Correct 43 ms 28880 KB Output is correct
14 Correct 39 ms 28888 KB Output is correct
15 Correct 31 ms 27592 KB Output is correct
16 Correct 33 ms 27348 KB Output is correct
17 Correct 7 ms 22236 KB Output is correct
18 Correct 7 ms 22292 KB Output is correct
19 Correct 7 ms 22240 KB Output is correct
20 Correct 7 ms 22236 KB Output is correct
21 Correct 7 ms 22232 KB Output is correct
22 Correct 7 ms 22232 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 4 ms 19804 KB Output is correct
2 Correct 5 ms 19808 KB Output is correct
3 Correct 5 ms 19804 KB Output is correct
4 Correct 4 ms 19800 KB Output is correct
5 Correct 5 ms 19804 KB Output is correct
6 Correct 4 ms 19624 KB Output is correct
7 Correct 4 ms 19804 KB Output is correct
8 Correct 4 ms 19800 KB Output is correct
9 Correct 5 ms 19804 KB Output is correct
10 Correct 5 ms 19548 KB Output is correct
11 Correct 5 ms 19804 KB Output is correct
12 Correct 4 ms 19616 KB Output is correct
13 Correct 5 ms 19804 KB Output is correct
14 Correct 5 ms 19804 KB Output is correct
15 Correct 5 ms 19548 KB Output is correct
16 Correct 5 ms 19664 KB Output is correct
17 Correct 4 ms 19804 KB Output is correct
18 Correct 5 ms 19804 KB Output is correct
19 Correct 5 ms 19804 KB Output is correct
20 Correct 6 ms 19804 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 60 ms 31244 KB Output is correct
2 Correct 55 ms 31024 KB Output is correct
3 Correct 60 ms 31144 KB Output is correct
4 Correct 55 ms 31156 KB Output is correct
5 Correct 56 ms 31108 KB Output is correct
6 Correct 63 ms 39116 KB Output is correct
7 Correct 65 ms 36296 KB Output is correct
8 Correct 63 ms 34868 KB Output is correct
9 Correct 61 ms 33744 KB Output is correct
10 Correct 64 ms 31156 KB Output is correct
11 Correct 58 ms 32416 KB Output is correct
12 Correct 77 ms 32336 KB Output is correct
13 Correct 57 ms 32340 KB Output is correct
14 Correct 51 ms 31596 KB Output is correct
15 Correct 58 ms 30800 KB Output is correct
16 Correct 32 ms 27904 KB Output is correct
17 Correct 48 ms 31428 KB Output is correct
18 Correct 39 ms 31304 KB Output is correct
19 Correct 41 ms 31676 KB Output is correct
20 Correct 40 ms 31296 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 19804 KB Output is correct
2 Correct 4 ms 19548 KB Output is correct
3 Correct 5 ms 19548 KB Output is correct
4 Correct 6 ms 19548 KB Output is correct
5 Correct 4 ms 19548 KB Output is correct
6 Correct 5 ms 19548 KB Output is correct
7 Correct 4 ms 19548 KB Output is correct
8 Correct 4 ms 19612 KB Output is correct
9 Correct 5 ms 19548 KB Output is correct
10 Correct 5 ms 19764 KB Output is correct
11 Correct 4 ms 19548 KB Output is correct
12 Correct 5 ms 19804 KB Output is correct
13 Correct 5 ms 19800 KB Output is correct
14 Correct 5 ms 19804 KB Output is correct
15 Correct 6 ms 19804 KB Output is correct
16 Correct 5 ms 19544 KB Output is correct
17 Correct 4 ms 19548 KB Output is correct
18 Correct 5 ms 19548 KB Output is correct
19 Correct 5 ms 19548 KB Output is correct
20 Correct 6 ms 19804 KB Output is correct
21 Correct 4 ms 19804 KB Output is correct
22 Correct 5 ms 19804 KB Output is correct
23 Correct 5 ms 19804 KB Output is correct
24 Correct 5 ms 19804 KB Output is correct
25 Correct 4 ms 19548 KB Output is correct
26 Correct 4 ms 19548 KB Output is correct
27 Correct 4 ms 19548 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 57 ms 31136 KB Output is correct
2 Correct 56 ms 31316 KB Output is correct
3 Correct 62 ms 30392 KB Output is correct
4 Correct 60 ms 29080 KB Output is correct
5 Correct 55 ms 27476 KB Output is correct
6 Correct 53 ms 26964 KB Output is correct
7 Correct 53 ms 26596 KB Output is correct
8 Correct 44 ms 26364 KB Output is correct
9 Correct 44 ms 26016 KB Output is correct
10 Correct 40 ms 25944 KB Output is correct
11 Correct 40 ms 25944 KB Output is correct
12 Correct 41 ms 25824 KB Output is correct
13 Correct 40 ms 25940 KB Output is correct
14 Correct 42 ms 28544 KB Output is correct
15 Correct 69 ms 35736 KB Output is correct
16 Correct 66 ms 33780 KB Output is correct
17 Correct 69 ms 34508 KB Output is correct
18 Correct 67 ms 32724 KB Output is correct
19 Correct 59 ms 29000 KB Output is correct
20 Correct 81 ms 30528 KB Output is correct
21 Correct 60 ms 30556 KB Output is correct
22 Correct 56 ms 29772 KB Output is correct
23 Correct 48 ms 28840 KB Output is correct
24 Correct 62 ms 31528 KB Output is correct
25 Correct 51 ms 31440 KB Output is correct
26 Correct 50 ms 30664 KB Output is correct
27 Correct 61 ms 30764 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 19700 KB Output is correct
2 Correct 5 ms 19548 KB Output is correct
3 Correct 4 ms 19548 KB Output is correct
4 Correct 4 ms 19548 KB Output is correct
5 Correct 5 ms 19548 KB Output is correct
6 Correct 4 ms 19548 KB Output is correct
7 Correct 4 ms 19548 KB Output is correct
8 Correct 4 ms 19548 KB Output is correct
9 Correct 4 ms 19544 KB Output is correct
10 Correct 4 ms 19548 KB Output is correct
11 Correct 5 ms 19652 KB Output is correct
12 Correct 4 ms 19656 KB Output is correct
13 Correct 5 ms 19544 KB Output is correct
14 Correct 4 ms 19548 KB Output is correct
15 Correct 5 ms 19652 KB Output is correct
16 Correct 4 ms 19548 KB Output is correct
17 Correct 4 ms 19548 KB Output is correct
18 Correct 4 ms 19544 KB Output is correct
19 Correct 4 ms 19656 KB Output is correct
20 Correct 4 ms 19548 KB Output is correct
21 Correct 5 ms 19548 KB Output is correct
22 Correct 4 ms 19544 KB Output is correct
23 Correct 4 ms 19548 KB Output is correct
24 Correct 5 ms 19548 KB Output is correct
25 Correct 4 ms 19548 KB Output is correct
26 Correct 4 ms 19548 KB Output is correct
27 Correct 6 ms 19804 KB Output is correct
28 Correct 4 ms 19548 KB Output is correct
29 Correct 4 ms 19548 KB Output is correct
30 Correct 4 ms 19548 KB Output is correct
31 Correct 4 ms 19548 KB Output is correct
32 Correct 4 ms 19548 KB Output is correct
33 Correct 4 ms 19548 KB Output is correct
34 Correct 4 ms 19548 KB Output is correct
35 Correct 4 ms 19548 KB Output is correct
36 Correct 4 ms 19548 KB Output is correct
37 Correct 4 ms 19548 KB Output is correct
38 Correct 5 ms 19548 KB Output is correct
39 Correct 4 ms 19544 KB Output is correct
40 Correct 4 ms 19544 KB Output is correct
41 Correct 4 ms 19664 KB Output is correct
42 Correct 4 ms 19548 KB Output is correct
43 Correct 4 ms 19652 KB Output is correct
44 Correct 5 ms 19548 KB Output is correct
45 Correct 4 ms 19548 KB Output is correct
46 Correct 5 ms 19548 KB Output is correct
47 Correct 4 ms 19608 KB Output is correct
48 Correct 4 ms 19548 KB Output is correct
49 Correct 5 ms 19548 KB Output is correct
50 Correct 5 ms 19548 KB Output is correct
51 Correct 4 ms 19548 KB Output is correct
52 Correct 4 ms 19548 KB Output is correct
53 Correct 5 ms 19804 KB Output is correct
54 Correct 4 ms 19640 KB Output is correct
55 Correct 4 ms 19548 KB Output is correct
56 Correct 4 ms 19612 KB Output is correct
57 Correct 4 ms 19656 KB Output is correct
58 Correct 4 ms 19548 KB Output is correct
59 Correct 4 ms 19548 KB Output is correct
60 Correct 4 ms 19548 KB Output is correct
61 Correct 4 ms 19800 KB Output is correct
62 Correct 4 ms 19548 KB Output is correct
63 Correct 4 ms 19548 KB Output is correct
64 Correct 4 ms 19544 KB Output is correct
65 Correct 4 ms 19548 KB Output is correct
66 Correct 5 ms 19544 KB Output is correct
67 Correct 4 ms 19548 KB Output is correct
68 Correct 5 ms 19804 KB Output is correct
69 Correct 5 ms 19804 KB Output is correct
70 Correct 6 ms 19804 KB Output is correct
71 Correct 5 ms 19548 KB Output is correct
72 Correct 5 ms 19548 KB Output is correct
73 Correct 5 ms 19548 KB Output is correct
74 Correct 4 ms 19548 KB Output is correct
75 Correct 4 ms 19548 KB Output is correct
76 Correct 4 ms 19548 KB Output is correct
77 Correct 5 ms 19544 KB Output is correct
78 Correct 4 ms 19544 KB Output is correct
79 Correct 5 ms 19548 KB Output is correct
80 Correct 5 ms 19544 KB Output is correct
81 Correct 6 ms 19548 KB Output is correct
82 Correct 5 ms 19804 KB Output is correct
83 Correct 4 ms 19804 KB Output is correct
84 Correct 4 ms 19804 KB Output is correct
85 Correct 6 ms 19804 KB Output is correct
86 Correct 5 ms 19548 KB Output is correct
87 Correct 4 ms 19548 KB Output is correct
88 Correct 5 ms 19740 KB Output is correct
89 Correct 4 ms 19548 KB Output is correct
90 Correct 5 ms 19548 KB Output is correct
91 Correct 5 ms 19548 KB Output is correct
92 Correct 4 ms 19548 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 19700 KB Output is correct
2 Correct 5 ms 19548 KB Output is correct
3 Correct 4 ms 19548 KB Output is correct
4 Correct 4 ms 19548 KB Output is correct
5 Correct 5 ms 19548 KB Output is correct
6 Correct 4 ms 19548 KB Output is correct
7 Correct 4 ms 19548 KB Output is correct
8 Correct 4 ms 19548 KB Output is correct
9 Correct 4 ms 19544 KB Output is correct
10 Correct 4 ms 19548 KB Output is correct
11 Correct 5 ms 19652 KB Output is correct
12 Correct 4 ms 19656 KB Output is correct
13 Correct 5 ms 19544 KB Output is correct
14 Correct 4 ms 19548 KB Output is correct
15 Correct 5 ms 19652 KB Output is correct
16 Correct 4 ms 19548 KB Output is correct
17 Correct 4 ms 19548 KB Output is correct
18 Correct 4 ms 19544 KB Output is correct
19 Correct 4 ms 19656 KB Output is correct
20 Correct 4 ms 19548 KB Output is correct
21 Correct 5 ms 19548 KB Output is correct
22 Correct 4 ms 19544 KB Output is correct
23 Correct 4 ms 19548 KB Output is correct
24 Correct 5 ms 19548 KB Output is correct
25 Correct 4 ms 19548 KB Output is correct
26 Correct 4 ms 19548 KB Output is correct
27 Correct 6 ms 19804 KB Output is correct
28 Correct 4 ms 19548 KB Output is correct
29 Correct 4 ms 19548 KB Output is correct
30 Correct 4 ms 19548 KB Output is correct
31 Correct 4 ms 19548 KB Output is correct
32 Correct 4 ms 19548 KB Output is correct
33 Correct 4 ms 19548 KB Output is correct
34 Correct 4 ms 19548 KB Output is correct
35 Correct 4 ms 19548 KB Output is correct
36 Correct 4 ms 19548 KB Output is correct
37 Correct 4 ms 19548 KB Output is correct
38 Correct 5 ms 19548 KB Output is correct
39 Correct 4 ms 19544 KB Output is correct
40 Correct 4 ms 19544 KB Output is correct
41 Correct 4 ms 19664 KB Output is correct
42 Correct 4 ms 19548 KB Output is correct
43 Correct 4 ms 19652 KB Output is correct
44 Correct 5 ms 19548 KB Output is correct
45 Correct 4 ms 19548 KB Output is correct
46 Correct 5 ms 19548 KB Output is correct
47 Correct 4 ms 19608 KB Output is correct
48 Correct 4 ms 19548 KB Output is correct
49 Correct 5 ms 19548 KB Output is correct
50 Correct 5 ms 19548 KB Output is correct
51 Correct 4 ms 19548 KB Output is correct
52 Correct 4 ms 19548 KB Output is correct
53 Correct 5 ms 19804 KB Output is correct
54 Correct 4 ms 19640 KB Output is correct
55 Correct 4 ms 19548 KB Output is correct
56 Correct 4 ms 19612 KB Output is correct
57 Correct 4 ms 19656 KB Output is correct
58 Correct 4 ms 19548 KB Output is correct
59 Correct 4 ms 19548 KB Output is correct
60 Correct 4 ms 19548 KB Output is correct
61 Correct 4 ms 19800 KB Output is correct
62 Correct 4 ms 19548 KB Output is correct
63 Correct 4 ms 19548 KB Output is correct
64 Correct 4 ms 19544 KB Output is correct
65 Correct 4 ms 19548 KB Output is correct
66 Correct 55 ms 37176 KB Output is correct
67 Correct 49 ms 36936 KB Output is correct
68 Correct 60 ms 34052 KB Output is correct
69 Correct 56 ms 37776 KB Output is correct
70 Correct 54 ms 32472 KB Output is correct
71 Correct 57 ms 34380 KB Output is correct
72 Correct 71 ms 32972 KB Output is correct
73 Correct 62 ms 33748 KB Output is correct
74 Correct 56 ms 31544 KB Output is correct
75 Correct 52 ms 31692 KB Output is correct
76 Correct 58 ms 29144 KB Output is correct
77 Correct 50 ms 28780 KB Output is correct
78 Correct 43 ms 28880 KB Output is correct
79 Correct 39 ms 28888 KB Output is correct
80 Correct 31 ms 27592 KB Output is correct
81 Correct 33 ms 27348 KB Output is correct
82 Correct 7 ms 22236 KB Output is correct
83 Correct 7 ms 22292 KB Output is correct
84 Correct 7 ms 22240 KB Output is correct
85 Correct 7 ms 22236 KB Output is correct
86 Correct 7 ms 22232 KB Output is correct
87 Correct 7 ms 22232 KB Output is correct
88 Correct 4 ms 19804 KB Output is correct
89 Correct 5 ms 19808 KB Output is correct
90 Correct 5 ms 19804 KB Output is correct
91 Correct 4 ms 19800 KB Output is correct
92 Correct 5 ms 19804 KB Output is correct
93 Correct 4 ms 19624 KB Output is correct
94 Correct 4 ms 19804 KB Output is correct
95 Correct 4 ms 19800 KB Output is correct
96 Correct 5 ms 19804 KB Output is correct
97 Correct 5 ms 19548 KB Output is correct
98 Correct 5 ms 19804 KB Output is correct
99 Correct 4 ms 19616 KB Output is correct
100 Correct 5 ms 19804 KB Output is correct
101 Correct 5 ms 19804 KB Output is correct
102 Correct 5 ms 19548 KB Output is correct
103 Correct 5 ms 19664 KB Output is correct
104 Correct 4 ms 19804 KB Output is correct
105 Correct 5 ms 19804 KB Output is correct
106 Correct 5 ms 19804 KB Output is correct
107 Correct 6 ms 19804 KB Output is correct
108 Correct 60 ms 31244 KB Output is correct
109 Correct 55 ms 31024 KB Output is correct
110 Correct 60 ms 31144 KB Output is correct
111 Correct 55 ms 31156 KB Output is correct
112 Correct 56 ms 31108 KB Output is correct
113 Correct 63 ms 39116 KB Output is correct
114 Correct 65 ms 36296 KB Output is correct
115 Correct 63 ms 34868 KB Output is correct
116 Correct 61 ms 33744 KB Output is correct
117 Correct 64 ms 31156 KB Output is correct
118 Correct 58 ms 32416 KB Output is correct
119 Correct 77 ms 32336 KB Output is correct
120 Correct 57 ms 32340 KB Output is correct
121 Correct 51 ms 31596 KB Output is correct
122 Correct 58 ms 30800 KB Output is correct
123 Correct 32 ms 27904 KB Output is correct
124 Correct 48 ms 31428 KB Output is correct
125 Correct 39 ms 31304 KB Output is correct
126 Correct 41 ms 31676 KB Output is correct
127 Correct 40 ms 31296 KB Output is correct
128 Correct 5 ms 19804 KB Output is correct
129 Correct 4 ms 19548 KB Output is correct
130 Correct 5 ms 19548 KB Output is correct
131 Correct 6 ms 19548 KB Output is correct
132 Correct 4 ms 19548 KB Output is correct
133 Correct 5 ms 19548 KB Output is correct
134 Correct 4 ms 19548 KB Output is correct
135 Correct 4 ms 19612 KB Output is correct
136 Correct 5 ms 19548 KB Output is correct
137 Correct 5 ms 19764 KB Output is correct
138 Correct 4 ms 19548 KB Output is correct
139 Correct 5 ms 19804 KB Output is correct
140 Correct 5 ms 19800 KB Output is correct
141 Correct 5 ms 19804 KB Output is correct
142 Correct 6 ms 19804 KB Output is correct
143 Correct 5 ms 19544 KB Output is correct
144 Correct 4 ms 19548 KB Output is correct
145 Correct 5 ms 19548 KB Output is correct
146 Correct 5 ms 19548 KB Output is correct
147 Correct 6 ms 19804 KB Output is correct
148 Correct 4 ms 19804 KB Output is correct
149 Correct 5 ms 19804 KB Output is correct
150 Correct 5 ms 19804 KB Output is correct
151 Correct 5 ms 19804 KB Output is correct
152 Correct 4 ms 19548 KB Output is correct
153 Correct 4 ms 19548 KB Output is correct
154 Correct 4 ms 19548 KB Output is correct
155 Correct 57 ms 31136 KB Output is correct
156 Correct 56 ms 31316 KB Output is correct
157 Correct 62 ms 30392 KB Output is correct
158 Correct 60 ms 29080 KB Output is correct
159 Correct 55 ms 27476 KB Output is correct
160 Correct 53 ms 26964 KB Output is correct
161 Correct 53 ms 26596 KB Output is correct
162 Correct 44 ms 26364 KB Output is correct
163 Correct 44 ms 26016 KB Output is correct
164 Correct 40 ms 25944 KB Output is correct
165 Correct 40 ms 25944 KB Output is correct
166 Correct 41 ms 25824 KB Output is correct
167 Correct 40 ms 25940 KB Output is correct
168 Correct 42 ms 28544 KB Output is correct
169 Correct 69 ms 35736 KB Output is correct
170 Correct 66 ms 33780 KB Output is correct
171 Correct 69 ms 34508 KB Output is correct
172 Correct 67 ms 32724 KB Output is correct
173 Correct 59 ms 29000 KB Output is correct
174 Correct 81 ms 30528 KB Output is correct
175 Correct 60 ms 30556 KB Output is correct
176 Correct 56 ms 29772 KB Output is correct
177 Correct 48 ms 28840 KB Output is correct
178 Correct 62 ms 31528 KB Output is correct
179 Correct 51 ms 31440 KB Output is correct
180 Correct 50 ms 30664 KB Output is correct
181 Correct 61 ms 30764 KB Output is correct
182 Correct 5 ms 19544 KB Output is correct
183 Correct 4 ms 19548 KB Output is correct
184 Correct 5 ms 19804 KB Output is correct
185 Correct 5 ms 19804 KB Output is correct
186 Correct 6 ms 19804 KB Output is correct
187 Correct 5 ms 19548 KB Output is correct
188 Correct 5 ms 19548 KB Output is correct
189 Correct 5 ms 19548 KB Output is correct
190 Correct 4 ms 19548 KB Output is correct
191 Correct 4 ms 19548 KB Output is correct
192 Correct 4 ms 19548 KB Output is correct
193 Correct 5 ms 19544 KB Output is correct
194 Correct 4 ms 19544 KB Output is correct
195 Correct 5 ms 19548 KB Output is correct
196 Correct 5 ms 19544 KB Output is correct
197 Correct 6 ms 19548 KB Output is correct
198 Correct 5 ms 19804 KB Output is correct
199 Correct 4 ms 19804 KB Output is correct
200 Correct 4 ms 19804 KB Output is correct
201 Correct 6 ms 19804 KB Output is correct
202 Correct 5 ms 19548 KB Output is correct
203 Correct 4 ms 19548 KB Output is correct
204 Correct 5 ms 19740 KB Output is correct
205 Correct 4 ms 19548 KB Output is correct
206 Correct 5 ms 19548 KB Output is correct
207 Correct 5 ms 19548 KB Output is correct
208 Correct 4 ms 19548 KB Output is correct
209 Correct 6 ms 21976 KB Output is correct
210 Correct 31 ms 27600 KB Output is correct
211 Correct 54 ms 31824 KB Output is correct
212 Correct 64 ms 35148 KB Output is correct
213 Correct 77 ms 38160 KB Output is correct
214 Correct 38 ms 29512 KB Output is correct
215 Correct 39 ms 29392 KB Output is correct
216 Correct 57 ms 30972 KB Output is correct
217 Correct 56 ms 29264 KB Output is correct
218 Correct 55 ms 27700 KB Output is correct
219 Correct 41 ms 27292 KB Output is correct
220 Correct 42 ms 26972 KB Output is correct
221 Correct 47 ms 27296 KB Output is correct
222 Correct 41 ms 28724 KB Output is correct
223 Correct 64 ms 32912 KB Output is correct
224 Correct 60 ms 31692 KB Output is correct
225 Correct 58 ms 29004 KB Output is correct
226 Correct 55 ms 29012 KB Output is correct
227 Correct 54 ms 29032 KB Output is correct
228 Correct 51 ms 28496 KB Output is correct
229 Correct 50 ms 28000 KB Output is correct
230 Correct 47 ms 28704 KB Output is correct
231 Correct 55 ms 29036 KB Output is correct