Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

30267
24808
Time Limit Exceeded
22

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~11 $N \leq 500, k \leq 3$ 8 / 8
2 0~28 $N \leq 1000, k \leq 5$ 14 / 14
3 0~39, 41 $N \leq 1000, k \leq 1000$ 0 / 32
4 40, 42~54 $N \leq 200000, k \leq 50$ 0 / 56
5 0~72 $N \leq 200000, k \leq 200000$ 0 / 90

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 0002.5 22616 3920 Accepted 100
1 1 2 3 5 0002.6 22616 3732 Accepted 100
2 1 2 3 5 0002.7 22616 3880 Accepted 100
3 1 2 3 5 0002.8 22616 4040 Accepted 100
4 1 2 3 5 0002.7 22616 4028 Accepted 100
5 1 2 3 5 0002.6 22616 3968 Accepted 100
6 1 2 3 5 0002.6 22616 3968 Accepted 100
7 1 2 3 5 0004.3 22616 3848 Accepted 100
8 1 2 3 5 0004.4 22616 4020 Accepted 100
9 1 2 3 5 0004.4 22616 3916 Accepted 100
10 1 2 3 5 0004.4 22616 4084 Accepted 100
11 1 2 3 5 0004.2 22616 3920 Accepted 100
12 2 3 5 0002.5 22616 3804 Accepted 100
13 2 3 5 0002.5 22616 4036 Accepted 100
14 2 3 5 0002.7 22616 3968 Accepted 100
15 2 3 5 0002.6 22616 3812 Accepted 100
16 2 3 5 0002.7 22616 3804 Accepted 100
17 2 3 5 0002.6 22616 3960 Accepted 100
18 2 3 5 0006.2 22616 3964 Accepted 100
19 2 3 5 0006.2 22616 3960 Accepted 100
20 2 3 5 0006.5 22616 4064 Accepted 100
21 2 3 5 0006.3 22616 4064 Accepted 100
22 2 3 5 0006.5 22616 4024 Accepted 100
23 2 3 5 0006.4 22616 3836 Accepted 100
24 2 3 5 0006.6 22616 4104 Accepted 100
25 2 3 5 0006.4 22616 4064 Accepted 100
26 2 3 5 0006.3 22616 3836 Accepted 100
27 2 3 5 0006.0 22616 3920 Accepted 100
28 2 3 5 0005.9 22616 3924 Accepted 100
29 3 5 0006.2 22616 4120 Accepted 100
30 3 5 0006.2 22616 4116 Accepted 100
31 3 5 0005.9 22616 4068 Accepted 100
32 3 5 0006.7 22616 3968 Accepted 100
33 3 5 0006.2 22616 4124 Wrong Answer 0
34 3 5 0006.2 22616 3960 Wrong Answer 0
35 3 5 0005.9 22616 4064 Accepted 100
36 3 5 0006.1 22616 3892 Accepted 100
37 3 5 0006.2 22616 3956 Wrong Answer 0
38 3 5 0006.2 22616 3836 Wrong Answer 0
39 3 5 0006.3 22616 4052 Accepted 100
40 4 5 1982.1 22616 4412 Time Limit Exceeded 0
41 3 5 0006.4 22616 4064 Accepted 100
42 4 5 0840.5 22616 20356 Accepted 100
43 4 5 0842.0 22616 20428 Accepted 100
44 4 5 0860.6 22616 20124 Accepted 100
45 4 5 0858.9 22616 20192 Accepted 100
46 4 5 0851.2 22616 20308 Accepted 100
47 4 5 0847.9 22616 20140 Accepted 100
48 4 5 0851.2 22616 20424 Accepted 100
49 4 5 0850.1 22616 20356 Accepted 100
50 4 5 0862.4 22616 20268 Accepted 100
51 4 5 0611.0 24288 20836 Wrong Answer 0
52 4 5 0861.6 22616 20360 Accepted 100
53 4 5 1972.4 27632 24808 Time Limit Exceeded 0
54 4 5 1970.0 22880 20132 Time Limit Exceeded 0
55 5 0863.4 22616 20272 Accepted 100
56 5 0864.6 22616 20424 Accepted 100
57 5 0820.6 22616 20072 Wrong Answer 0
58 5 0865.1 22616 20300 Accepted 100
59 5 0804.6 22616 20412 Accepted 100
60 5 0845.1 22616 20428 Accepted 100
61 5 0859.1 22616 20352 Accepted 100
62 5 0861.2 22616 20368 Accepted 100
63 5 0844.6 22616 20268 Accepted 100
64 5 0894.5 22616 20364 Wrong Answer 0
65 5 0844.2 22616 20356 Accepted 100
66 5 0830.0 22616 20416 Wrong Answer 0
67 5 0819.8 22616 20264 Accepted 100
68 5 0858.3 22616 20352 Accepted 100
69 5 0812.2 22616 20264 Accepted 100
70 5 0806.0 22616 20036 Wrong Answer 0
71 5 0759.7 22616 20272 Accepted 100
72 5 0752.2 22616 20200 Accepted 100
Submitter:
Compiler:
c++11
Code Length:
1.77 KB
Back to Top