Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
TIOJ April Fools Day Contest 2024 題解上線啦!
題解點
這裡
、題目在
這裡
~
Results of submission #347759
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2242. 抽水機
9220
24340
Accepted
100
Subtask Results
Subtask no.
Testdata Range
Constraints
Score
1
0~2
範例測資。
0
/ 0
2
3~13
N, Q <= 5000
7
/ 7
3
14~21
ans > 0, tree generated randomly
12
/ 12
4
22~32
tree is a chain
22
/ 22
5
3~64
N, Q <= 10^ 5
59
/ 59
Testdata Results
Testdata no.
Subtasks
Time (ms)
Memory (VSS, KiB)
Memory (RSS, KiB)
Verdict
Score
0
1
000
3.4
6056
3232
Accepted
100
1
1
000
3.0
6056
3224
Accepted
100
2
1
000
2.4
6056
3260
Accepted
100
3
2
5
00
10.7
6800
3860
Accepted
100
4
2
5
00
10.5
6800
3916
Accepted
100
5
2
5
00
11.9
6800
3964
Accepted
100
6
2
5
000
8.4
6800
4076
Accepted
100
7
2
5
00
11.2
7008
4308
Accepted
100
8
2
5
00
10.9
7012
4240
Accepted
100
9
2
5
00
10.5
7012
4292
Accepted
100
10
2
5
000
9.4
6776
4056
Accepted
100
11
2
5
00
10.7
6692
3972
Accepted
100
12
2
5
000
9.4
6776
4004
Accepted
100
13
2
5
000
9.0
6696
4084
Accepted
100
14
3
5
0
120.1
21516
17008
Accepted
100
15
3
5
0
122.4
21516
17204
Accepted
100
16
3
5
0
119.5
21516
17100
Accepted
100
17
3
5
0
119.2
21516
17024
Accepted
100
18
3
5
0
114.3
21516
17128
Accepted
100
19
3
5
0
111.1
21516
17124
Accepted
100
20
3
5
0
109.6
21520
17132
Accepted
100
21
3
5
0
115.5
21516
17188
Accepted
100
22
4
5
0
237.6
27400
24232
Accepted
100
23
4
5
0
241.1
27396
24096
Accepted
100
24
4
5
0
233.5
27400
24320
Accepted
100
25
4
5
0
238.0
27396
24156
Accepted
100
26
4
5
0
233.5
27396
24320
Accepted
100
27
4
5
0
229.9
27396
24336
Accepted
100
28
4
5
0
231.2
27400
24080
Accepted
100
29
4
5
0
232.9
27400
24108
Accepted
100
30
4
5
0
132.5
27396
24224
Accepted
100
31
4
5
0
121.8
27400
24296
Accepted
100
32
4
5
0
122.7
27400
24340
Accepted
100
33
5
0
208.3
21516
17136
Accepted
100
34
5
0
206.7
21516
17108
Accepted
100
35
5
0
199.1
21516
16988
Accepted
100
36
5
0
201.6
21516
17172
Accepted
100
37
5
0
197.4
21516
17136
Accepted
100
38
5
0
207.5
21512
17088
Accepted
100
39
5
0
200.0
21520
17216
Accepted
100
40
5
0
194.4
21516
17036
Accepted
100
41
5
0
199.4
21516
17128
Accepted
100
42
5
0
198.7
21516
17176
Accepted
100
43
5
0
214.6
21512
17172
Accepted
100
44
5
0
193.2
21516
17192
Accepted
100
45
5
0
194.9
21516
17096
Accepted
100
46
5
0
159.1
21516
17036
Accepted
100
47
5
0
150.3
21520
17108
Accepted
100
48
5
0
190.7
21144
17780
Accepted
100
49
5
0
192.5
20368
17192
Accepted
100
50
5
0
189.1
19896
16832
Accepted
100
51
5
0
192.4
19588
16156
Accepted
100
52
5
0
193.0
19360
16304
Accepted
100
53
5
0
198.7
19196
16152
Accepted
100
54
5
0
198.6
19060
15980
Accepted
100
55
5
0
190.0
20368
16920
Accepted
100
56
5
0
189.8
20364
16988
Accepted
100
57
5
0
199.2
19904
16768
Accepted
100
58
5
0
196.6
19900
16848
Accepted
100
59
5
0
196.2
19584
16568
Accepted
100
60
5
0
196.1
19584
16624
Accepted
100
61
5
00
98.4
24744
19080
Accepted
100
62
5
00
98.6
24744
19176
Accepted
100
63
5
0
124.0
25280
21304
Accepted
100
64
5
0
143.1
25280
21312
Accepted
100
Submitter:
Adrien Wu
Compiler:
c++17
Code Length:
7.24 KB
Back to Top