Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

84963
309292
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 0~14 $N \leq 10 ^ 1$ 0.1 / 0.1
3 0~28 $N \leq 10 ^ 2$ 0.3 / 0.3
4 0~47 $N \leq 10 ^ 3$ 0.9 / 0.9
5 0~63 $N \leq 10 ^ 4$ 2.7 / 2.7
6 0~82 $N \leq 10 ^ 5$ 8.1 / 8.1
7 0~121 $N \leq 10 ^ 6$(無額外限制) 87.9 / 87.9

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 6 7 0045.6 92172 50528 Accepted 100
1 1 2 3 4 5 6 7 0047.6 92172 50440 Accepted 100
2 1 2 3 4 5 6 7 0033.7 92172 50480 Accepted 100
3 2 3 4 5 6 7 0049.4 92172 50504 Accepted 100
4 2 3 4 5 6 7 0046.4 92172 50600 Accepted 100
5 2 3 4 5 6 7 0045.8 92172 50496 Accepted 100
6 2 3 4 5 6 7 0048.3 92172 50476 Accepted 100
7 2 3 4 5 6 7 0047.6 92172 50600 Accepted 100
8 2 3 4 5 6 7 0047.4 92172 50480 Accepted 100
9 2 3 4 5 6 7 0047.8 92172 50600 Accepted 100
10 2 3 4 5 6 7 0046.5 92172 50476 Accepted 100
11 2 3 4 5 6 7 0048.7 92172 50472 Accepted 100
12 2 3 4 5 6 7 0046.8 92172 50476 Accepted 100
13 2 3 4 5 6 7 0034.0 92172 50484 Accepted 100
14 2 3 4 5 6 7 0047.3 92172 50476 Accepted 100
15 3 4 5 6 7 0047.1 92172 50492 Accepted 100
16 3 4 5 6 7 0033.9 92172 50604 Accepted 100
17 3 4 5 6 7 0047.5 92172 50608 Accepted 100
18 3 4 5 6 7 0046.3 92172 50548 Accepted 100
19 3 4 5 6 7 0048.8 92172 50492 Accepted 100
20 3 4 5 6 7 0046.0 92172 50488 Accepted 100
21 3 4 5 6 7 0047.5 92172 50380 Accepted 100
22 3 4 5 6 7 0048.2 92172 50484 Accepted 100
23 3 4 5 6 7 0048.1 92172 50408 Accepted 100
24 3 4 5 6 7 0034.0 92172 50480 Accepted 100
25 3 4 5 6 7 0049.0 92172 50356 Accepted 100
26 3 4 5 6 7 0046.4 92172 50476 Accepted 100
27 3 4 5 6 7 0047.7 92172 50356 Accepted 100
28 3 4 5 6 7 0047.0 92172 50480 Accepted 100
29 4 5 6 7 0047.9 92172 50536 Accepted 100
30 4 5 6 7 0034.8 92172 50580 Accepted 100
31 4 5 6 7 0049.6 92304 50656 Accepted 100
32 4 5 6 7 0049.5 92304 50700 Accepted 100
33 4 5 6 7 0049.8 92304 50664 Accepted 100
34 4 5 6 7 0049.1 92304 50536 Accepted 100
35 4 5 6 7 0050.0 92304 50664 Accepted 100
36 4 5 6 7 0047.8 92304 50668 Accepted 100
37 4 5 6 7 0035.6 92304 50660 Accepted 100
38 4 5 6 7 0048.1 92304 50612 Accepted 100
39 4 5 6 7 0050.3 92304 50628 Accepted 100
40 4 5 6 7 0052.0 92304 50624 Accepted 100
41 4 5 6 7 0048.3 92304 50628 Accepted 100
42 4 5 6 7 0047.3 92304 50488 Accepted 100
43 4 5 6 7 0046.8 92172 50540 Accepted 100
44 4 5 6 7 0047.0 92172 50548 Accepted 100
45 4 5 6 7 0035.0 92304 50624 Accepted 100
46 4 5 6 7 0046.9 92304 50628 Accepted 100
47 4 5 6 7 0047.6 92172 50492 Accepted 100
48 5 6 7 0056.0 92592 51064 Accepted 100
49 5 6 7 0057.4 93516 51720 Accepted 100
50 5 6 7 0054.7 93716 52024 Accepted 100
51 5 6 7 0072.2 93996 52304 Accepted 100
52 5 6 7 0071.4 93988 52304 Accepted 100
53 5 6 7 0072.7 93984 52036 Accepted 100
54 5 6 7 0069.6 93700 52044 Accepted 100
55 5 6 7 0067.9 93584 51912 Accepted 100
56 5 6 7 0067.9 93604 51896 Accepted 100
57 5 6 7 0060.4 93604 51940 Accepted 100
58 5 6 7 0051.8 93616 51936 Accepted 100
59 5 6 7 0062.2 93148 51512 Accepted 100
60 5 6 7 0052.1 92340 51108 Accepted 100
61 5 6 7 0068.0 93616 51884 Accepted 100
62 5 6 7 0066.6 93600 52056 Accepted 100
63 5 6 7 0052.0 92500 51144 Accepted 100
64 6 7 0159.4 99420 58720 Accepted 100
65 6 7 0198.7 107692 68716 Accepted 100
66 6 7 0315.8 110528 71168 Accepted 100
67 6 7 0360.5 112676 73808 Accepted 100
68 6 7 0361.2 112684 73760 Accepted 100
69 6 7 0362.4 112648 73776 Accepted 100
70 6 7 0352.7 112036 73056 Accepted 100
71 6 7 0341.4 111108 71692 Accepted 100
72 6 7 0299.3 108076 69464 Accepted 100
73 6 7 0197.3 108052 69540 Accepted 100
74 6 7 0292.9 108044 69460 Accepted 100
75 6 7 0299.4 108052 69444 Accepted 100
76 6 7 0298.8 108048 69328 Accepted 100
77 6 7 0305.9 108532 69956 Accepted 100
78 6 7 0221.5 102948 64336 Accepted 100
79 6 7 0079.5 94104 55784 Accepted 100
80 6 7 0295.0 108532 70068 Accepted 100
81 6 7 0256.9 105868 67392 Accepted 100
82 6 7 0081.3 95184 56700 Accepted 100
83 7 3159.1 273928 257952 Accepted 100
84 7 3532.9 292832 281868 Accepted 100
85 7 3571.3 292852 281852 Accepted 100
86 7 3532.9 292832 281864 Accepted 100
87 7 3532.8 292908 281844 Accepted 100
88 7 3526.4 292840 281864 Accepted 100
89 7 2363.0 314956 309200 Accepted 100
90 7 2966.4 314568 308788 Accepted 100
91 7 3007.4 314592 308780 Accepted 100
92 7 3044.9 314580 308868 Accepted 100
93 7 3081.6 314980 309276 Accepted 100
94 7 2895.2 314964 309208 Accepted 100
95 7 2815.8 314928 308944 Accepted 100
96 7 2407.8 314932 309292 Accepted 100
97 7 2385.6 314884 309060 Accepted 100
98 7 2397.5 314508 308724 Accepted 100
99 7 2406.2 314828 308960 Accepted 100
100 7 2427.5 314564 308792 Accepted 100
101 7 2395.0 311760 305348 Accepted 100
102 7 0339.1 122388 115300 Accepted 100
103 7 0330.3 122924 114716 Accepted 100
104 7 0334.6 118276 113104 Accepted 100
105 7 0243.4 112092 107152 Accepted 100
106 7 0268.2 112092 107156 Accepted 100
107 7 0232.9 100116 89116 Accepted 100
108 7 1983.5 275444 270076 Accepted 100
109 7 1973.4 275444 270004 Accepted 100
110 7 1842.1 257148 248720 Accepted 100
111 7 1879.9 260636 252636 Accepted 100
112 7 1898.2 262396 254788 Accepted 100
113 7 0266.6 112092 107108 Accepted 100
114 7 0236.9 100116 89096 Accepted 100
115 7 1987.5 275444 270076 Accepted 100
116 7 1997.1 275444 270008 Accepted 100
117 7 1549.2 222872 217584 Accepted 100
118 7 1605.3 229664 222612 Accepted 100
119 7 1774.3 250836 241752 Accepted 100
120 7 0266.3 112092 107092 Accepted 100
121 7 0219.1 100116 89224 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
12.9 KB
Back to Top