Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
TIOJ April Fools Day Contest 2024 題解上線啦!
題解點
這裡
、題目在
這裡
~
Results of submission #362841
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2242. 抽水機
15878
48776
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.6
26904
13856
Accepted
100
1
1
00
15.7
26904
13788
Accepted
100
2
1
00
15.6
26904
13840
Accepted
100
3
2
5
00
26.0
27696
15392
Accepted
100
4
2
5
00
27.3
27696
15324
Accepted
100
5
2
5
00
27.3
27696
15224
Accepted
100
6
2
5
00
24.1
27696
15224
Accepted
100
7
2
5
00
25.6
27988
15616
Accepted
100
8
2
5
00
25.3
27988
15548
Accepted
100
9
2
5
00
25.2
27984
15692
Accepted
100
10
2
5
00
28.3
27712
15320
Accepted
100
11
2
5
00
30.3
27624
15416
Accepted
100
12
2
5
00
24.3
27712
15296
Accepted
100
13
2
5
00
25.5
27624
15164
Accepted
100
14
3
5
0
244.0
42612
39420
Accepted
100
15
3
5
0
236.5
42612
39368
Accepted
100
16
3
5
0
237.2
42612
39380
Accepted
100
17
3
5
0
237.7
42612
39424
Accepted
100
18
3
5
0
240.9
42616
39460
Accepted
100
19
3
5
0
239.6
42612
39420
Accepted
100
20
3
5
0
237.5
42612
39332
Accepted
100
21
3
5
0
238.2
42612
39376
Accepted
100
22
4
5
0
308.2
50772
47148
Accepted
100
23
4
5
0
310.8
50772
47160
Accepted
100
24
4
5
0
313.5
50776
47240
Accepted
100
25
4
5
0
315.7
50776
47312
Accepted
100
26
4
5
0
316.1
50776
47120
Accepted
100
27
4
5
0
313.7
50776
47168
Accepted
100
28
4
5
0
315.7
50776
47188
Accepted
100
29
4
5
0
313.9
50776
47204
Accepted
100
30
4
5
0
258.9
50772
47160
Accepted
100
31
4
5
0
215.4
50776
47124
Accepted
100
32
4
5
0
212.0
50780
47244
Accepted
100
33
5
0
368.2
42612
39664
Accepted
100
34
5
0
338.3
42612
39440
Accepted
100
35
5
0
329.9
42612
39556
Accepted
100
36
5
0
331.6
42612
39428
Accepted
100
37
5
0
334.5
42612
39456
Accepted
100
38
5
0
257.6
42612
39432
Accepted
100
39
5
0
320.3
42612
39624
Accepted
100
40
5
0
347.0
42612
39456
Accepted
100
41
5
0
334.1
42612
39448
Accepted
100
42
5
0
333.8
42612
39436
Accepted
100
43
5
0
342.9
42612
39400
Accepted
100
44
5
0
337.2
42612
39452
Accepted
100
45
5
0
345.4
42612
39608
Accepted
100
46
5
0
283.1
42616
39516
Accepted
100
47
5
0
255.7
42612
39452
Accepted
100
48
5
0
418.1
43768
39972
Accepted
100
49
5
0
358.3
42512
38952
Accepted
100
50
5
0
341.0
42096
38420
Accepted
100
51
5
0
331.8
41860
38100
Accepted
100
52
5
0
349.6
41360
38184
Accepted
100
53
5
0
331.7
41160
37536
Accepted
100
54
5
0
333.5
41100
37824
Accepted
100
55
5
0
370.7
42516
38956
Accepted
100
56
5
0
381.3
42512
38920
Accepted
100
57
5
0
361.1
42096
38488
Accepted
100
58
5
0
366.2
42092
38420
Accepted
100
59
5
0
355.2
41860
38052
Accepted
100
60
5
0
353.7
41864
38036
Accepted
100
61
5
0
218.8
52396
48776
Accepted
100
62
5
0
220.7
52396
48752
Accepted
100
63
5
0
245.4
51256
47904
Accepted
100
64
5
0
240.2
51252
48088
Accepted
100
Submitter:
Caido
Compiler:
c++20
Code Length:
7.41 KB
Back to Top