QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141835#6999. Nested TrianglessdoiAC ✓466ms20128kbC++233.0kb2023-08-18 02:44:402023-08-18 02:44:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 7804kb

input:

3
0 0 10 0
6
5 1
5 2
5 3
6 4
6 5
6 6
0 0 10 10
9
1 6
2 3
4 7
6 8
8 2
9 3
7 6
2 4
2 7
0 10 10 0
9
0 0
0 2
2 0
0 4
4 0
0 6
6 0
0 8
8 0

output:

Case #1: 6
6
5
4
3
2
1
Case #2: 3
1
3
2
Case #3: 1
1

result:

ok 19 tokens

Test #2:

score: 0
Accepted
time: 466ms
memory: 20128kb

input:

1000
-782111307 543709560 -768053650 135558061
100
-800811953 -696112058
-800811949 -696112045
-800811939 -696112039
-800811938 -696112055
-800811937 -696112033
-800811934 -696112044
-800811934 -696112042
-800811927 -696112048
-800811927 -696112045
-800811927 -696112039
-708873677 154389926
-7088736...

output:

Case #1: 12
59
58
51
36
35
32
19
17
16
14
13
11
Case #2: 19
21
22
27
25
23
26
48
47
45
41
43
42
33
36
40
39
34
38
35
Case #3: 10
1
6
10
21
22
24
23
25
27
28
Case #4: 8
95
92
91
88
89
84
82
81
Case #5: 10
31
32
38
42
47
48
49
61
62
65
Case #6: 19
1
2
7
10
31
35
39
51
52
55
57
59
61
62
64
65
67
69
70
...

result:

ok 142216 tokens