QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#39391#237. Triangle PartitionHuangHanShengAC ✓14ms3716kbC++111.0kb2022-07-09 16:45:522022-07-09 16:45:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 14ms
memory: 3716kb

input:

190
10
-7215 2904
-5179 1663
-542 1091
-5687 7868
7838 -1048
-2944 4346
-2780 3959
-9402 1099
-8548 -7238
-3821 -2917
2713 295
-856 -8661
7651 3945
-8216 -543
5798 5024
8583 -3384
-1208 5955
3068 -385
340 2968
6559 -272
4537 5075
5126 4343
639 8281
1700 2572
819 9317
-9854 -1316
-3421 -1137
9368 718...

output:

28 11 13
22 15 21
24 19 25
23 17 3
6 7 4
1 2 29
8 14 26
27 10 9
12 30 16
5 18 20
16 1 14
7 24 28
19 10 17
18 27 15
11 12 5
30 3 29
9 25 13
6 22 23
4 26 8
21 20 2
26 23 4
28 17 25
1 12 24
2 15 29
18 22 14
27 13 8
16 6 11
10 9 19
20 7 3
21 30 5
10 28 17
4 20 2
11 22 9
6 15 29
5 23 19
8 16 26
13 7 3
24...

result:

ok AC