Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10132
58296
Wrong Answer
40

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資。 0 / 0
2 2~21 $k = n, n \le 10, p = 1$ 15 / 15
3 22~41 $k = n, n \le 10 ^ 5, p = 1$ 25 / 25
4 42~52 $p = 1$ 0 / 17
5 53~72 無額外限制。 0 / 43

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.5 6204 3632 Accepted 100
1 1 0002.6 6204 3556 Wrong Answer 0
2 2 0002.8 6204 3636 Accepted 100
3 2 0003.3 6204 3552 Accepted 100
4 2 0002.6 6204 3636 Accepted 100
5 2 0002.5 6204 3620 Accepted 100
6 2 0002.5 6204 3456 Accepted 100
7 2 0002.5 6204 3636 Accepted 100
8 2 0003.5 6204 3612 Accepted 100
9 2 0002.5 6204 3544 Accepted 100
10 2 0002.5 6204 3628 Accepted 100
11 2 0002.5 6204 3692 Accepted 100
12 2 0002.6 6204 3548 Accepted 100
13 2 0002.6 6204 3556 Accepted 100
14 2 0002.6 6204 3628 Accepted 100
15 2 0002.4 6204 3640 Accepted 100
16 2 0003.0 6204 3688 Accepted 100
17 2 0002.5 6204 3580 Accepted 100
18 2 0004.0 6204 3692 Accepted 100
19 2 0003.1 6204 3544 Accepted 100
20 2 0002.6 6204 3588 Accepted 100
21 2 0004.0 6204 3684 Accepted 100
22 3 0056.1 11480 9020 Accepted 100
23 3 0053.8 11480 9092 Accepted 100
24 3 0057.1 11480 9092 Accepted 100
25 3 0055.4 11480 9088 Accepted 100
26 3 0051.3 11484 9036 Accepted 100
27 3 0046.9 11480 9048 Accepted 100
28 3 0040.5 11484 8920 Accepted 100
29 3 0046.0 11480 9084 Accepted 100
30 3 0047.3 11480 8920 Accepted 100
31 3 0038.7 11480 9096 Accepted 100
32 3 0044.8 11480 9092 Accepted 100
33 3 0042.2 11484 8988 Accepted 100
34 3 0047.2 11480 9028 Accepted 100
35 3 0046.7 11484 8952 Accepted 100
36 3 0042.2 11480 9032 Accepted 100
37 3 0041.6 11480 9092 Accepted 100
38 3 0041.8 11480 9152 Accepted 100
39 3 0042.0 11476 9088 Accepted 100
40 3 0041.2 11480 8920 Accepted 100
41 3 0043.5 11484 9092 Accepted 100
42 4 0120.5 9980 7528 Accepted 100
43 4 1099.8 50316 47896 Accepted 100
44 4 0610.5 19040 16596 Accepted 100
45 4 0252.6 13888 11444 Accepted 100
46 4 0592.6 56000 53588 Accepted 100
47 4 0181.6 9988 7472 Accepted 100
48 4 0495.5 28544 26020 Wrong Answer 0
49 4 0506.9 20360 17928 Accepted 100
50 4 0239.9 13896 11508 Accepted 100
51 4 0498.5 40288 37676 Accepted 100
52 4 0002.6 6204 3580 Accepted 100
53 5 0136.1 13892 11296 Wrong Answer 0
54 5 0190.2 13896 11452 Wrong Answer 0
55 5 0124.3 13884 11500 Wrong Answer 0
56 5 0163.5 14284 11880 Wrong Answer 0
57 5 0120.3 9984 7452 Wrong Answer 0
58 5 0138.2 13896 11268 Wrong Answer 0
59 5 0268.9 13888 11368 Wrong Answer 0
60 5 0265.3 13888 11444 Wrong Answer 0
61 5 0464.9 14288 11836 Wrong Answer 0
62 5 0468.9 60752 58296 Accepted 100
63 5 0114.1 13884 11496 Wrong Answer 0
64 5 0254.8 13888 11296 Wrong Answer 0
65 5 0185.2 13884 11312 Wrong Answer 0
66 5 0191.4 14284 11832 Wrong Answer 0
67 5 0181.9 9984 7460 Accepted 100
68 5 0247.9 13880 11368 Wrong Answer 0
69 5 0300.0 13892 11400 Wrong Answer 0
70 5 0241.5 13896 11384 Accepted 100
71 5 0339.2 14284 11904 Accepted 100
72 5 0146.1 9980 7416 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1006 Bytes
Back to Top