Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
TIOJ April Fools Day Contest 2024 題解上線啦!
題解點
這裡
、題目在
這裡
~
Results of submission #362839
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2242. 抽水機
17860
49308
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
00
15.9
26932
14628
Accepted
100
1
1
00
15.9
26932
14616
Accepted
100
2
1
00
16.1
26932
14624
Accepted
100
3
2
5
00
28.2
27724
15912
Accepted
100
4
2
5
00
29.5
27724
15876
Accepted
100
5
2
5
00
30.3
27724
15864
Accepted
100
6
2
5
00
26.1
27724
15928
Accepted
100
7
2
5
00
27.5
28012
16096
Accepted
100
8
2
5
00
27.7
28012
16368
Accepted
100
9
2
5
00
27.1
28016
16264
Accepted
100
10
2
5
00
30.0
27744
15996
Accepted
100
11
2
5
00
32.6
27652
15900
Accepted
100
12
2
5
00
26.8
27744
15832
Accepted
100
13
2
5
00
27.6
27648
15768
Accepted
100
14
3
5
0
269.5
42640
40076
Accepted
100
15
3
5
0
267.3
42640
40128
Accepted
100
16
3
5
0
265.2
42640
40044
Accepted
100
17
3
5
0
264.7
42640
40104
Accepted
100
18
3
5
0
250.2
42644
40256
Accepted
100
19
3
5
0
259.2
42640
39924
Accepted
100
20
3
5
0
246.7
42640
40064
Accepted
100
21
3
5
0
258.0
42640
40032
Accepted
100
22
4
5
0
354.8
50664
47652
Accepted
100
23
4
5
0
362.6
50672
47864
Accepted
100
24
4
5
0
358.9
50672
47796
Accepted
100
25
4
5
0
364.4
50672
47740
Accepted
100
26
4
5
0
356.3
50672
47864
Accepted
100
27
4
5
0
352.6
50664
47732
Accepted
100
28
4
5
0
356.6
50672
47796
Accepted
100
29
4
5
0
356.3
50672
47780
Accepted
100
30
4
5
0
299.2
50668
47860
Accepted
100
31
4
5
0
251.8
50668
47812
Accepted
100
32
4
5
0
249.4
50664
47808
Accepted
100
33
5
0
396.8
42640
40212
Accepted
100
34
5
0
377.8
42640
40060
Accepted
100
35
5
0
372.4
42640
40112
Accepted
100
36
5
0
373.7
42640
39956
Accepted
100
37
5
0
389.1
42640
39992
Accepted
100
38
5
0
287.6
42640
40100
Accepted
100
39
5
0
365.1
42640
40064
Accepted
100
40
5
0
385.0
42640
40088
Accepted
100
41
5
0
382.3
42640
40108
Accepted
100
42
5
0
371.4
42640
40096
Accepted
100
43
5
0
394.9
42640
40128
Accepted
100
44
5
0
374.1
42640
40116
Accepted
100
45
5
0
381.4
42508
40104
Accepted
100
46
5
0
300.1
42644
40128
Accepted
100
47
5
0
286.6
42640
40108
Accepted
100
48
5
0
458.6
43764
40616
Accepted
100
49
5
0
402.2
42544
39676
Accepted
100
50
5
0
384.7
42088
39164
Accepted
100
51
5
0
372.1
41900
38660
Accepted
100
52
5
0
381.0
41352
38840
Accepted
100
53
5
0
386.9
41184
38120
Accepted
100
54
5
0
374.4
41096
38448
Accepted
100
55
5
0
430.0
42544
39520
Accepted
100
56
5
0
414.4
42548
39600
Accepted
100
57
5
0
408.2
42088
39152
Accepted
100
58
5
0
406.8
42088
39056
Accepted
100
59
5
0
400.8
41904
38664
Accepted
100
60
5
0
399.0
41900
38708
Accepted
100
61
5
0
258.0
52396
49288
Accepted
100
62
5
0
258.9
52396
49308
Accepted
100
63
5
0
287.2
51284
48584
Accepted
100
64
5
0
293.6
51280
48516
Accepted
100
Submitter:
Caido
Compiler:
c++20
Code Length:
7 KB
Back to Top