Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

16151
19472
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資。 0 / 0
2 0~26 $1 \le N \le 20$ 20 / 20
3 0~1, 27~60 $1 \le N, Q \le 50$ 30 / 30
4 0~94 無特別限制。 50 / 50

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 0002.0 6220 3396 Accepted 100
1 1 2 3 4 0001.5 6220 3408 Accepted 100
2 2 4 0001.6 6220 3460 Accepted 100
3 2 4 0001.0 6220 3504 Accepted 100
4 2 4 0001.6 6220 3464 Accepted 100
5 2 4 0001.1 6220 3476 Accepted 100
6 2 4 0002.8 6236 3732 Accepted 100
7 2 4 0002.5 6232 3596 Accepted 100
8 2 4 0002.2 6232 3656 Accepted 100
9 2 4 0002.4 6240 3660 Accepted 100
10 2 4 0002.4 6232 3728 Accepted 100
11 2 4 0002.7 6236 3464 Accepted 100
12 2 4 0002.3 6232 3600 Accepted 100
13 2 4 0002.1 6240 3596 Accepted 100
14 2 4 0002.1 6236 3732 Accepted 100
15 2 4 0002.2 6236 3668 Accepted 100
16 2 4 0002.2 6236 3672 Accepted 100
17 2 4 0001.8 6236 3600 Accepted 100
18 2 4 0002.2 6236 3604 Accepted 100
19 2 4 0002.0 6236 3592 Accepted 100
20 2 4 0002.6 6232 3644 Accepted 100
21 2 4 0002.1 6240 3628 Accepted 100
22 2 4 0002.4 6232 3544 Accepted 100
23 2 4 0002.6 6236 3604 Accepted 100
24 2 4 0002.2 6232 3660 Accepted 100
25 2 4 0002.7 6232 3664 Accepted 100
26 2 4 0002.4 6240 3624 Accepted 100
27 3 4 0035.0 8008 5396 Accepted 100
28 3 4 0028.7 8012 5448 Accepted 100
29 3 4 0030.5 7896 5208 Accepted 100
30 3 4 0023.8 7788 5224 Accepted 100
31 3 4 0026.8 7684 4912 Accepted 100
32 3 4 0026.1 7584 4952 Accepted 100
33 3 4 0018.1 7492 4924 Accepted 100
34 3 4 0016.6 7400 4712 Accepted 100
35 3 4 0029.4 7316 4672 Accepted 100
36 3 4 0019.0 7224 4628 Accepted 100
37 3 4 0018.6 7072 4568 Accepted 100
38 3 4 0017.5 7068 4564 Accepted 100
39 3 4 0015.6 7072 4480 Accepted 100
40 3 4 0018.5 7152 4580 Accepted 100
41 3 4 0016.4 7224 4660 Accepted 100
42 3 4 0018.7 7308 4740 Accepted 100
43 3 4 0022.3 7396 4764 Accepted 100
44 3 4 0024.9 7488 4852 Accepted 100
45 3 4 0014.3 7584 4968 Accepted 100
46 3 4 0022.8 7688 5076 Accepted 100
47 3 4 0028.2 7792 5180 Accepted 100
48 3 4 0025.3 7896 5208 Accepted 100
49 3 4 0041.6 8128 5484 Accepted 100
50 3 4 0046.6 8132 5496 Accepted 100
51 3 4 0041.1 8128 5484 Accepted 100
52 3 4 0034.6 8128 5624 Accepted 100
53 3 4 0042.9 8128 5552 Accepted 100
54 3 4 0067.9 8132 5628 Accepted 100
55 3 4 0068.9 8128 5536 Accepted 100
56 3 4 0036.2 8128 5536 Accepted 100
57 3 4 0043.1 8132 5452 Accepted 100
58 3 4 0035.5 8128 5512 Accepted 100
59 3 4 0028.4 8132 5456 Accepted 100
60 3 4 0026.0 8128 5564 Accepted 100
61 4 0452.7 21568 19000 Accepted 100
62 4 0658.3 21564 18976 Accepted 100
63 4 0433.4 21104 18540 Accepted 100
64 4 0457.5 20656 18044 Accepted 100
65 4 0488.3 20212 17536 Accepted 100
66 4 0463.8 19780 17172 Accepted 100
67 4 0420.8 19352 16712 Accepted 100
68 4 0409.4 18944 16376 Accepted 100
69 4 0342.4 18528 15940 Accepted 100
70 4 0373.4 18132 15632 Accepted 100
71 4 0350.0 17364 14864 Accepted 100
72 4 0373.0 17364 14736 Accepted 100
73 4 0340.0 17360 14732 Accepted 100
74 4 0334.8 17740 15132 Accepted 100
75 4 0347.9 18136 15496 Accepted 100
76 4 0335.9 18532 15924 Accepted 100
77 4 0405.7 18940 16376 Accepted 100
78 4 0367.0 19352 16764 Accepted 100
79 4 0422.8 19776 17008 Accepted 100
80 4 0425.9 20212 17604 Accepted 100
81 4 0441.1 20656 18028 Accepted 100
82 4 0503.0 21104 18604 Accepted 100
83 4 0601.1 22040 19272 Accepted 100
84 4 0505.9 22040 19452 Accepted 100
85 4 0529.9 22040 19272 Accepted 100
86 4 0405.6 22040 19428 Accepted 100
87 4 0528.0 22040 19472 Accepted 100
88 4 0420.4 22036 19424 Accepted 100
89 4 0363.0 22036 19428 Accepted 100
90 4 0522.1 22040 19468 Accepted 100
91 4 0502.2 22036 19448 Accepted 100
92 4 0582.8 22040 19408 Accepted 100
93 4 0483.4 22036 19408 Accepted 100
94 4 0491.2 22036 19456 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.67 KB
Back to Top