Skip to content

2 人の星座 (Constellation 2)

Unrated
日本語

Language

Contribute a translation
Time limit
9000 ms
Memory limit
256 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

2 人の星座 (Constellation 2):公式日本語問題文 1ページ

2 人の星座 (Constellation 2):公式日本語問題文 2ページ

2 人の星座 (Constellation 2):公式日本語問題文 3ページ

2 人の星座 (Constellation 2):公式日本語問題文 4ページ

2 人の星座 (Constellation 2):公式日本語問題文 5ページ

Examples

Sample input 1
7
0 0 0
2 0 1
1 2 2
-2 1 0
-2 -3 0
0 -2 1
2 -2 2
Sample output 1
4
Sample input 2
8
16 0 0
17 0 0
0 7 2
0 -7 2
-1 -1 1
-1 1 2
-6 4 1
-6 -4 1
Sample output 2
12
Sample input 3
21
1 20 0
4 20 0
0 22 0
5 22 0
6 25 0
8 25 0
4 26 0
11 11 1
7 12 1
14 13 1
8 15 1
15 16 1
11 17 1
18 0 2
13 2 2
16 2 2
19 4 2
18 6 2
21 8 2
24 8 2
19 10 2
Sample output 3
7748

Notes

Tags

No tags yet

Source