Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3001
21888
Wrong Answer
40

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~3 $N\leq 5$ 10 / 10
2 4~7 $N\leq 1000, N=M$ 20 / 20
3 8~11 $N\leq 1000$ 10 / 10
4 12~15 $N=M$ 0 / 12
5 16~19 $N\leq 5\times 10^ 5$ 0 / 48

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.5 9948 3508 Accepted 100
1 1 0002.6 9948 3672 Accepted 100
2 1 0002.7 9948 3676 Accepted 100
3 1 0002.5 9948 3552 Accepted 100
4 2 0003.1 9948 3556 Accepted 100
5 2 0003.2 9948 3720 Accepted 100
6 2 0003.2 9948 3684 Accepted 100
7 2 0003.2 9948 3756 Accepted 100
8 3 0003.1 9948 3688 Accepted 100
9 3 0002.7 9948 3652 Accepted 100
10 3 0003.0 9948 3588 Accepted 100
11 3 0002.7 9948 3748 Accepted 100
12 4 0508.9 25392 21672 Wrong Answer 0
13 4 0487.3 24864 21048 Wrong Answer 0
14 4 0454.1 24072 20168 Wrong Answer 0
15 4 0516.1 25524 21888 Wrong Answer 0
16 5 0528.8 24204 21220 Wrong Answer 0
17 5 0134.6 13644 10984 Wrong Answer 0
18 5 0119.9 13248 10332 Wrong Answer 0
19 5 0217.4 16020 12872 Wrong Answer 0
Submitter:
Compiler:
c++14
Code Length:
889 Bytes
Back to Top