Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2655
19432
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.5 6216 3376 Accepted 100
1 1 2 3 4 0001.1 6216 3372 Accepted 100
2 2 4 0001.7 6216 3460 Accepted 100
3 2 4 0001.1 6216 3412 Accepted 100
4 2 4 0001.5 6216 3444 Accepted 100
5 2 4 0001.3 6216 3480 Accepted 100
6 2 4 0001.5 6348 3548 Accepted 100
7 2 4 0001.2 6348 3624 Accepted 100
8 2 4 0001.3 6348 3624 Accepted 100
9 2 4 0001.2 6348 3604 Accepted 100
10 2 4 0001.5 6348 3728 Accepted 100
11 2 4 0001.2 6348 3536 Accepted 100
12 2 4 0001.6 6348 3724 Accepted 100
13 2 4 0001.3 6348 3556 Accepted 100
14 2 4 0001.6 6348 3604 Accepted 100
15 2 4 0001.5 6348 3660 Accepted 100
16 2 4 0001.4 6348 3600 Accepted 100
17 2 4 0001.3 6348 3404 Accepted 100
18 2 4 0001.3 6348 3388 Accepted 100
19 2 4 0001.2 6348 3472 Accepted 100
20 2 4 0001.3 6348 3604 Accepted 100
21 2 4 0001.2 6348 3608 Accepted 100
22 2 4 0001.4 6348 3588 Accepted 100
23 2 4 0001.6 6348 3596 Accepted 100
24 2 4 0001.4 6348 3544 Accepted 100
25 2 4 0001.2 6348 3664 Accepted 100
26 2 4 0001.4 6348 3600 Accepted 100
27 3 4 0006.6 8228 5372 Accepted 100
28 3 4 0005.3 8228 5448 Accepted 100
29 3 4 0008.8 8092 5300 Accepted 100
30 3 4 0007.6 7880 5148 Accepted 100
31 3 4 0004.0 7812 5032 Accepted 100
32 3 4 0004.6 7776 5056 Accepted 100
33 3 4 0005.9 7588 4816 Accepted 100
34 3 4 0005.4 7600 4704 Accepted 100
35 3 4 0004.0 7456 4556 Accepted 100
36 3 4 0002.8 7412 4612 Accepted 100
37 3 4 0002.9 7148 4408 Accepted 100
38 3 4 0002.9 7148 4408 Accepted 100
39 3 4 0003.5 7148 4404 Accepted 100
40 3 4 0004.6 7320 4496 Accepted 100
41 3 4 0003.2 7412 4748 Accepted 100
42 3 4 0003.5 7456 4564 Accepted 100
43 3 4 0004.0 7600 4756 Accepted 100
44 3 4 0004.5 7588 5020 Accepted 100
45 3 4 0003.5 7776 4932 Accepted 100
46 3 4 0004.7 7812 5156 Accepted 100
47 3 4 0005.1 7880 5140 Accepted 100
48 3 4 0005.0 8092 5372 Accepted 100
49 3 4 0007.6 8268 5544 Accepted 100
50 3 4 0008.2 8268 5488 Accepted 100
51 3 4 0005.4 8268 5552 Accepted 100
52 3 4 0006.1 8268 5548 Accepted 100
53 3 4 0007.2 8268 5496 Accepted 100
54 3 4 0007.6 8268 5536 Accepted 100
55 3 4 0010.3 8268 5672 Accepted 100
56 3 4 0006.0 8268 5576 Accepted 100
57 3 4 0009.9 8268 5492 Accepted 100
58 3 4 0008.9 8268 5572 Accepted 100
59 3 4 0008.0 8268 5572 Accepted 100
60 3 4 0007.5 8268 5500 Accepted 100
61 4 0059.0 21884 18892 Accepted 100
62 4 0093.7 21884 18856 Accepted 100
63 4 0068.5 21420 18380 Accepted 100
64 4 0068.0 20964 17968 Accepted 100
65 4 0066.7 20520 17564 Accepted 100
66 4 0058.6 20080 17084 Accepted 100
67 4 0053.0 19656 16636 Accepted 100
68 4 0055.1 19236 16248 Accepted 100
69 4 0048.1 18828 15828 Accepted 100
70 4 0066.3 18488 15512 Accepted 100
71 4 0063.9 17708 14652 Accepted 100
72 4 0048.1 17708 14632 Accepted 100
73 4 0044.5 17708 14772 Accepted 100
74 4 0072.2 17968 14984 Accepted 100
75 4 0072.6 18488 15424 Accepted 100
76 4 0065.1 18828 15824 Accepted 100
77 4 0072.4 19236 16260 Accepted 100
78 4 0053.8 19656 16780 Accepted 100
79 4 0060.7 20080 17100 Accepted 100
80 4 0063.3 20520 17572 Accepted 100
81 4 0062.9 20964 18084 Accepted 100
82 4 0068.3 21420 18384 Accepted 100
83 4 0097.7 22356 19360 Accepted 100
84 4 0105.1 22356 19352 Accepted 100
85 4 0100.1 22356 19316 Accepted 100
86 4 0062.7 22356 19432 Accepted 100
87 4 0109.0 22356 19320 Accepted 100
88 4 0097.1 22356 19360 Accepted 100
89 4 0062.0 22356 19408 Accepted 100
90 4 0075.2 22356 19348 Accepted 100
91 4 0072.2 22356 19356 Accepted 100
92 4 0081.8 22356 19404 Accepted 100
93 4 0083.6 22356 19392 Accepted 100
94 4 0092.5 22356 19352 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.53 KB
Back to Top