Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

631
8836
Accepted
100

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$ 12 / 12
5 16~19 $N\leq 5\times 10^ 5$ 48 / 48

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 12068 3624 Accepted 100
1 1 0002.6 12068 3648 Accepted 100
2 1 0002.6 12068 3496 Accepted 100
3 1 0002.6 12068 3608 Accepted 100
4 2 0002.9 12068 3724 Accepted 100
5 2 0002.7 12068 3592 Accepted 100
6 2 0002.6 12068 3620 Accepted 100
7 2 0002.6 12068 3600 Accepted 100
8 3 0002.6 12068 3604 Accepted 100
9 3 0002.7 12068 3444 Accepted 100
10 3 0002.6 12068 3624 Accepted 100
11 3 0002.5 12068 3432 Accepted 100
12 4 0092.2 12068 7456 Accepted 100
13 4 0085.4 12068 7304 Accepted 100
14 4 0085.7 12068 7096 Accepted 100
15 4 0092.5 12068 7472 Accepted 100
16 5 0098.7 12068 8324 Accepted 100
17 5 0045.2 12068 8836 Accepted 100
18 5 0042.3 12068 8668 Accepted 100
19 5 0057.1 12068 8396 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.2 KB
Back to Top