Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

121184
126328
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~3 範例測資 0 / 0
2 4~34 $n\le 1000,q=1$ 13 / 13
3 35~49 $K=1,q\le 2\times 10^ 5, m=1$ 16 / 16
4 35~78 $K\le 3,q\le 2\times 10^ 5$ 37 / 37
5 0~126 無額外限制 34 / 34

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0006.0 44892 6240 Accepted 100
1 1 5 0007.4 44892 6244 Accepted 100
2 1 5 0006.0 44892 6312 Accepted 100
3 1 5 0005.9 44892 6328 Accepted 100
4 2 5 0005.7 44892 6252 Accepted 100
5 2 5 0099.5 76836 38056 Accepted 100
6 2 5 0100.1 76836 38044 Accepted 100
7 2 5 0098.9 76836 38100 Accepted 100
8 2 5 0112.8 76564 37776 Accepted 100
9 2 5 0171.0 76564 37788 Accepted 100
10 2 5 0536.8 76564 37724 Accepted 100
11 2 5 0111.5 76564 37788 Accepted 100
12 2 5 0111.9 76564 37828 Accepted 100
13 2 5 0112.0 76564 37840 Accepted 100
14 2 5 0112.4 76564 37776 Accepted 100
15 2 5 0131.7 77212 38504 Accepted 100
16 2 5 0221.9 77212 38484 Accepted 100
17 2 5 0730.1 77212 38592 Accepted 100
18 2 5 0132.6 77212 38512 Accepted 100
19 2 5 0130.3 77212 38504 Accepted 100
20 2 5 0130.1 77212 38404 Accepted 100
21 2 5 0131.0 77212 38504 Accepted 100
22 2 5 0143.4 77328 39056 Accepted 100
23 2 5 0250.7 77328 39060 Accepted 100
24 2 5 0836.5 77328 39028 Accepted 100
25 2 5 0138.6 77328 39020 Accepted 100
26 2 5 0225.2 77328 39052 Accepted 100
27 2 5 0716.8 77328 39048 Accepted 100
28 2 5 0142.1 77328 39044 Accepted 100
29 2 5 0246.5 77328 38944 Accepted 100
30 2 5 1032.8 77328 38988 Accepted 100
31 2 5 0145.7 77328 38972 Accepted 100
32 2 5 0141.0 77328 38940 Accepted 100
33 2 5 0142.4 77328 39044 Accepted 100
34 2 5 0145.6 77328 39080 Accepted 100
35 3 4 5 0005.7 44892 6228 Accepted 100
36 3 4 5 0112.0 80972 41604 Accepted 100
37 3 4 5 0162.0 82612 41680 Accepted 100
38 3 4 5 0201.7 80984 42032 Accepted 100
39 3 4 5 0253.1 82516 44588 Accepted 100
40 3 4 5 0367.5 89152 62056 Accepted 100
41 3 4 5 0572.5 113120 105892 Accepted 100
42 3 4 5 0182.5 80872 42096 Accepted 100
43 3 4 5 0223.9 82216 44328 Accepted 100
44 3 4 5 0344.6 88272 61072 Accepted 100
45 3 4 5 0547.5 112640 105204 Accepted 100
46 3 4 5 0193.6 80832 41768 Accepted 100
47 3 4 5 0250.2 82312 44456 Accepted 100
48 3 4 5 0365.6 88368 61160 Accepted 100
49 3 4 5 0571.5 112828 105588 Accepted 100
50 4 5 0006.2 44892 6264 Accepted 100
51 4 5 0006.0 44892 6368 Accepted 100
52 4 5 0128.0 80972 41716 Accepted 100
53 4 5 0202.8 82584 41580 Accepted 100
54 4 5 0304.1 80864 41936 Accepted 100
55 4 5 0361.1 82484 44688 Accepted 100
56 4 5 0306.6 82324 44560 Accepted 100
57 4 5 0483.6 88656 55176 Accepted 100
58 4 5 0368.5 88488 61336 Accepted 100
59 4 5 0498.3 89316 62156 Accepted 100
60 4 5 0475.0 88876 61852 Accepted 100
61 4 5 0458.6 87088 60652 Accepted 100
62 4 5 0578.0 112900 105536 Accepted 100
63 4 5 0790.6 112644 105468 Accepted 100
64 4 5 0771.2 112904 105628 Accepted 100
65 4 5 0745.5 112432 105080 Accepted 100
66 4 5 0271.3 83116 45292 Accepted 100
67 4 5 0390.1 89116 55504 Accepted 100
68 4 5 0432.1 89268 61868 Accepted 100
69 4 5 0713.7 113408 106012 Accepted 100
70 4 5 0310.3 82568 44748 Accepted 100
71 4 5 0465.7 89104 61916 Accepted 100
72 4 5 0760.7 112804 105428 Accepted 100
73 4 5 0432.1 88492 54836 Accepted 100
74 4 5 0191.5 80992 41936 Accepted 100
75 4 5 0247.2 83052 45152 Accepted 100
76 4 5 0359.0 89148 55548 Accepted 100
77 4 5 0456.0 88484 61340 Accepted 100
78 4 5 0730.1 112980 105764 Accepted 100
79 5 0481.3 93260 57340 Accepted 100
80 5 0898.7 100256 57160 Accepted 100
81 5 1405.9 96852 58048 Accepted 100
82 5 1753.3 97632 58688 Accepted 100
83 5 1888.2 95056 60268 Accepted 100
84 5 1701.2 95052 60716 Accepted 100
85 5 1681.7 102964 61708 Accepted 100
86 5 1417.0 94276 59796 Accepted 100
87 5 1364.4 94276 59692 Accepted 100
88 5 2075.2 105292 64640 Accepted 100
89 5 1179.4 107400 66924 Accepted 100
90 5 1392.7 106496 66084 Accepted 100
91 5 1668.0 108476 67940 Accepted 100
92 5 2055.1 106168 65640 Accepted 100
93 5 1490.3 83368 49124 Accepted 100
94 5 2329.2 109564 72216 Accepted 100
95 5 2403.3 103464 76444 Accepted 100
96 5 2375.9 109624 78744 Accepted 100
97 5 2321.6 101596 84756 Accepted 100
98 5 3022.0 124324 106372 Accepted 100
99 5 3682.5 132864 126312 Accepted 100
100 5 3629.7 133900 123324 Accepted 100
101 5 3435.2 124720 120764 Accepted 100
102 5 3508.1 124720 120808 Accepted 100
103 5 2882.9 132932 125636 Accepted 100
104 5 2262.0 131840 125228 Accepted 100
105 5 1755.9 131540 125160 Accepted 100
106 5 1418.1 132612 125308 Accepted 100
107 5 1145.8 95316 60676 Accepted 100
108 5 1556.9 109600 72228 Accepted 100
109 5 1712.5 112676 81608 Accepted 100
110 5 1729.5 111172 80204 Accepted 100
111 5 2897.5 130820 124380 Accepted 100
112 5 2906.7 132868 125348 Accepted 100
113 5 1674.2 95448 60992 Accepted 100
114 5 2223.4 111692 80868 Accepted 100
115 5 3558.2 132608 125308 Accepted 100
116 5 2103.0 108412 71264 Accepted 100
117 5 2178.3 109608 78684 Accepted 100
118 5 2006.4 109624 78512 Accepted 100
119 5 3727.5 132864 126328 Accepted 100
120 5 1362.3 95880 61372 Accepted 100
121 5 0553.0 96964 58932 Accepted 100
122 5 0644.0 97156 59228 Accepted 100
123 5 0910.6 95288 60832 Accepted 100
124 5 1490.4 109636 72164 Accepted 100
125 5 2006.9 109536 78248 Accepted 100
126 5 3208.1 132864 126260 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.14 KB
Back to Top