Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10357
58252
Runtime Error (killed by signal)
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.7 6204 3628 Accepted 100
1 1 0002.4 6204 3580 Wrong Answer 0
2 2 0002.5 6204 3616 Accepted 100
3 2 0002.6 6204 3576 Accepted 100
4 2 0002.4 6204 3560 Accepted 100
5 2 0002.4 6204 3568 Accepted 100
6 2 0002.4 6204 3560 Accepted 100
7 2 0002.6 6204 3596 Accepted 100
8 2 0002.4 6204 3632 Accepted 100
9 2 0002.4 6204 3456 Accepted 100
10 2 0002.4 6204 3636 Accepted 100
11 2 0002.5 6204 3708 Accepted 100
12 2 0002.4 6204 3552 Accepted 100
13 2 0002.4 6204 3632 Accepted 100
14 2 0002.5 6204 3688 Accepted 100
15 2 0002.5 6204 3588 Accepted 100
16 2 0002.6 6204 3480 Accepted 100
17 2 0002.4 6204 3456 Accepted 100
18 2 0002.6 6204 3584 Accepted 100
19 2 0002.5 6204 3552 Accepted 100
20 2 0002.4 6204 3572 Accepted 100
21 2 0002.5 6204 3628 Accepted 100
22 3 0049.2 11484 9096 Accepted 100
23 3 0049.7 11476 9024 Accepted 100
24 3 0052.8 11480 9088 Accepted 100
25 3 0053.2 11480 9020 Accepted 100
26 3 0047.8 11484 9036 Accepted 100
27 3 0044.8 11484 9052 Accepted 100
28 3 0037.3 11480 8912 Accepted 100
29 3 0045.6 11480 9048 Accepted 100
30 3 0045.0 11480 9020 Accepted 100
31 3 0037.3 11480 9012 Accepted 100
32 3 0041.7 11480 9092 Accepted 100
33 3 0041.8 11484 9100 Accepted 100
34 3 0041.9 11484 9032 Accepted 100
35 3 0042.7 11484 9100 Accepted 100
36 3 0041.8 11484 9052 Accepted 100
37 3 0042.0 11484 9032 Accepted 100
38 3 0042.0 11480 9020 Accepted 100
39 3 0042.0 11484 9096 Accepted 100
40 3 0040.7 11480 9032 Accepted 100
41 3 0042.9 11480 9048 Accepted 100
42 4 0117.0 9984 7484 Accepted 100
43 4 1123.3 50320 47896 Accepted 100
44 4 0678.1 19036 16428 Accepted 100
45 4 0270.6 13884 11392 Accepted 100
46 4 0601.1 56004 53516 Accepted 100
47 4 0180.9 9988 7488 Accepted 100
48 4 0507.1 28548 25868 Runtime Error (killed by signal) 0
49 4 0557.0 20360 17976 Accepted 100
50 4 0246.8 13892 11380 Accepted 100
51 4 0543.3 40288 37748 Accepted 100
52 4 0002.5 6204 3552 Accepted 100
53 5 0122.7 13900 11388 Runtime Error (killed by signal) 0
54 5 0189.9 13904 11352 Runtime Error (killed by signal) 0
55 5 0122.1 13900 11392 Runtime Error (killed by signal) 0
56 5 0136.0 14296 12020 Runtime Error (killed by signal) 0
57 5 0119.2 9984 7456 Wrong Answer 0
58 5 0125.2 13904 11488 Runtime Error (killed by signal) 0
59 5 0275.2 13884 11440 Wrong Answer 0
60 5 0275.0 13892 11400 Wrong Answer 0
61 5 0477.9 14292 11868 Wrong Answer 0
62 5 0452.4 60752 58252 Accepted 100
63 5 0110.5 13900 11344 Runtime Error (killed by signal) 0
64 5 0270.3 13892 11440 Wrong Answer 0
65 5 0185.5 13900 11200 Runtime Error (killed by signal) 0
66 5 0189.4 14300 11860 Runtime Error (killed by signal) 0
67 5 0180.6 9984 7356 Accepted 100
68 5 0252.4 13884 11260 Wrong Answer 0
69 5 0326.3 13888 11296 Wrong Answer 0
70 5 0253.6 13892 11336 Accepted 100
71 5 0382.6 14280 11828 Accepted 100
72 5 0145.7 9984 7532 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1014 Bytes
Back to Top