Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9809
58148
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.4 6204 3476 Accepted 100
1 1 0002.5 6204 3476 Wrong Answer 0
2 2 0002.6 6204 3692 Accepted 100
3 2 0002.5 6204 3624 Accepted 100
4 2 0002.4 6204 3632 Accepted 100
5 2 0002.4 6204 3636 Accepted 100
6 2 0002.4 6204 3484 Accepted 100
7 2 0002.4 6204 3580 Accepted 100
8 2 0002.4 6204 3628 Accepted 100
9 2 0002.4 6204 3632 Accepted 100
10 2 0002.5 6204 3516 Accepted 100
11 2 0002.4 6204 3632 Accepted 100
12 2 0002.5 6204 3624 Accepted 100
13 2 0002.4 6204 3560 Accepted 100
14 2 0002.5 6204 3632 Accepted 100
15 2 0002.4 6204 3556 Accepted 100
16 2 0002.4 6204 3560 Accepted 100
17 2 0002.4 6204 3588 Accepted 100
18 2 0002.4 6204 3632 Accepted 100
19 2 0002.5 6204 3616 Accepted 100
20 2 0002.4 6204 3628 Accepted 100
21 2 0002.3 6204 3564 Accepted 100
22 3 0048.9 11480 9088 Accepted 100
23 3 0050.5 11480 9092 Accepted 100
24 3 0054.0 11480 9152 Accepted 100
25 3 0053.2 11484 8924 Accepted 100
26 3 0048.2 11480 9172 Accepted 100
27 3 0044.8 11484 8924 Accepted 100
28 3 0037.1 11484 9088 Accepted 100
29 3 0045.9 11480 9048 Accepted 100
30 3 0045.4 11480 9096 Accepted 100
31 3 0038.5 11484 9036 Accepted 100
32 3 0042.3 11480 9084 Accepted 100
33 3 0042.5 11484 8876 Accepted 100
34 3 0041.8 11484 9156 Accepted 100
35 3 0042.5 11480 9096 Accepted 100
36 3 0041.6 11484 9100 Accepted 100
37 3 0041.5 11480 9088 Accepted 100
38 3 0041.3 11480 8968 Accepted 100
39 3 0041.8 11484 9156 Accepted 100
40 3 0041.1 11484 9100 Accepted 100
41 3 0041.3 11484 9052 Accepted 100
42 4 0123.6 13888 11288 Runtime Error (killed by signal) 0
43 4 1064.1 50316 47956 Accepted 100
44 4 0568.9 19036 16604 Accepted 100
45 4 0246.1 13884 11436 Accepted 100
46 4 0579.7 55996 53536 Accepted 100
47 4 0225.6 13888 11336 Accepted 100
48 4 0450.8 28540 25912 Runtime Error (killed by signal) 0
49 4 0433.2 20356 17796 Accepted 100
50 4 0239.7 13888 11368 Accepted 100
51 4 0463.6 40288 37748 Accepted 100
52 4 0002.5 6204 3516 Wrong Answer 0
53 5 0121.8 13892 11096 Runtime Error (killed by signal) 0
54 5 0189.1 13892 11340 Runtime Error (killed by signal) 0
55 5 0122.6 13888 11296 Runtime Error (killed by signal) 0
56 5 0135.3 14288 11704 Runtime Error (killed by signal) 0
57 5 0124.1 13896 11160 Runtime Error (killed by signal) 0
58 5 0127.4 13892 11296 Runtime Error (killed by signal) 0
59 5 0244.4 13888 11504 Wrong Answer 0
60 5 0267.4 13888 11444 Wrong Answer 0
61 5 0423.1 14288 11840 Wrong Answer 0
62 5 0458.2 60748 58148 Accepted 100
63 5 0110.7 13892 11348 Runtime Error (killed by signal) 0
64 5 0243.5 13892 11400 Wrong Answer 0
65 5 0186.6 13888 11188 Runtime Error (killed by signal) 0
66 5 0191.6 14284 11624 Runtime Error (killed by signal) 0
67 5 0227.3 13892 11360 Accepted 100
68 5 0245.7 13884 11260 Wrong Answer 0
69 5 0295.1 13892 11448 Wrong Answer 0
70 5 0242.9 13888 11368 Accepted 100
71 5 0323.5 14280 11840 Accepted 100
72 5 0192.8 13892 11328 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
845 Bytes
Back to Top