Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5387
3836
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 0001.4 6388 3504 Accepted 100
1 1 2 3 4 0001.2 6388 3548 Accepted 100
2 2 4 0001.5 6388 3548 Accepted 100
3 2 4 0001.1 6388 3552 Accepted 100
4 2 4 0001.2 6388 3572 Accepted 100
5 2 4 0001.2 6388 3628 Accepted 100
6 2 4 0001.3 6388 3580 Accepted 100
7 2 4 0001.2 6388 3548 Accepted 100
8 2 4 0001.1 6388 3572 Accepted 100
9 2 4 0001.2 6388 3576 Accepted 100
10 2 4 0001.4 6388 3540 Accepted 100
11 2 4 0001.2 6388 3580 Accepted 100
12 2 4 0001.2 6388 3588 Accepted 100
13 2 4 0001.2 6388 3568 Accepted 100
14 2 4 0001.3 6388 3596 Accepted 100
15 2 4 0001.3 6388 3600 Accepted 100
16 2 4 0001.3 6388 3580 Accepted 100
17 2 4 0001.5 6388 3576 Accepted 100
18 2 4 0001.4 6388 3588 Accepted 100
19 2 4 0001.4 6388 3584 Accepted 100
20 2 4 0001.5 6388 3528 Accepted 100
21 2 4 0001.5 6388 3712 Accepted 100
22 2 4 0001.5 6388 3592 Accepted 100
23 2 4 0003.0 6388 3632 Accepted 100
24 2 4 0002.8 6388 3480 Accepted 100
25 2 4 0003.5 6388 3640 Accepted 100
26 2 4 0003.9 6388 3624 Accepted 100
27 3 4 0009.9 6388 3628 Accepted 100
28 3 4 0007.1 6388 3628 Accepted 100
29 3 4 0007.4 6388 3628 Accepted 100
30 3 4 0006.1 6388 3616 Accepted 100
31 3 4 0004.9 6388 3640 Accepted 100
32 3 4 0006.0 6388 3744 Accepted 100
33 3 4 0005.4 6388 3688 Accepted 100
34 3 4 0005.3 6388 3616 Accepted 100
35 3 4 0007.0 6388 3472 Accepted 100
36 3 4 0004.5 6388 3608 Accepted 100
37 3 4 0005.3 6388 3628 Accepted 100
38 3 4 0005.1 6388 3468 Accepted 100
39 3 4 0007.0 6388 3568 Accepted 100
40 3 4 0007.1 6388 3608 Accepted 100
41 3 4 0005.9 6388 3688 Accepted 100
42 3 4 0007.3 6388 3484 Accepted 100
43 3 4 0007.6 6388 3612 Accepted 100
44 3 4 0008.7 6388 3608 Accepted 100
45 3 4 0005.5 6388 3636 Accepted 100
46 3 4 0008.9 6388 3480 Accepted 100
47 3 4 0009.8 6388 3636 Accepted 100
48 3 4 0008.7 6388 3696 Accepted 100
49 3 4 0015.2 6388 3652 Accepted 100
50 3 4 0014.4 6388 3636 Accepted 100
51 3 4 0011.5 6388 3588 Accepted 100
52 3 4 0013.1 6388 3632 Accepted 100
53 3 4 0015.6 6388 3640 Accepted 100
54 3 4 0016.8 6388 3628 Accepted 100
55 3 4 0017.9 6388 3712 Accepted 100
56 3 4 0013.4 6388 3636 Accepted 100
57 3 4 0014.7 6388 3764 Accepted 100
58 3 4 0012.1 6388 3648 Accepted 100
59 3 4 0011.5 6388 3640 Accepted 100
60 3 4 0010.3 6388 3648 Accepted 100
61 4 0117.2 6388 3712 Accepted 100
62 4 0170.4 6388 3712 Accepted 100
63 4 0115.3 6388 3708 Accepted 100
64 4 0120.8 6388 3692 Accepted 100
65 4 0129.3 6388 3720 Accepted 100
66 4 0116.5 6388 3644 Accepted 100
67 4 0106.9 6388 3704 Accepted 100
68 4 0119.7 6388 3716 Accepted 100
69 4 0104.3 6388 3652 Accepted 100
70 4 0125.1 6388 3708 Accepted 100
71 4 0122.5 6388 3692 Accepted 100
72 4 0116.1 6388 3700 Accepted 100
73 4 0111.0 6388 3556 Accepted 100
74 4 0131.0 6388 3712 Accepted 100
75 4 0131.5 6388 3692 Accepted 100
76 4 0129.3 6388 3708 Accepted 100
77 4 0147.3 6388 3728 Accepted 100
78 4 0134.9 6388 3724 Accepted 100
79 4 0152.2 6388 3832 Accepted 100
80 4 0151.0 6388 3708 Accepted 100
81 4 0150.7 6388 3696 Accepted 100
82 4 0159.8 6388 3712 Accepted 100
83 4 0214.0 6388 3688 Accepted 100
84 4 0193.1 6388 3776 Accepted 100
85 4 0192.0 6388 3708 Accepted 100
86 4 0148.9 6388 3556 Accepted 100
87 4 0197.3 6388 3708 Accepted 100
88 4 0166.3 6388 3712 Accepted 100
89 4 0128.7 6388 3836 Accepted 100
90 4 0186.8 6388 3704 Accepted 100
91 4 0179.2 6388 3560 Accepted 100
92 4 0206.4 6388 3696 Accepted 100
93 4 0164.0 6388 3708 Accepted 100
94 4 0187.5 6388 3704 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.66 KB
Back to Top