Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3364
10764
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 13864 3656 Accepted 100
1 1 0002.5 13864 3428 Accepted 100
2 1 0002.7 13864 3716 Accepted 100
3 1 0002.6 13864 3580 Accepted 100
4 2 0003.2 13864 3608 Accepted 100
5 2 0003.2 13864 3624 Accepted 100
6 2 0003.2 13864 3596 Accepted 100
7 2 0003.2 13864 3588 Accepted 100
8 3 0003.2 13864 3660 Accepted 100
9 3 0002.7 13864 3672 Accepted 100
10 3 0003.1 13864 3620 Accepted 100
11 3 0002.7 13864 3520 Accepted 100
12 4 0469.7 13864 8744 Accepted 100
13 4 0460.1 13864 8488 Accepted 100
14 4 0434.5 13864 8372 Accepted 100
15 4 0476.5 13864 8776 Accepted 100
16 5 0515.7 13864 10004 Accepted 100
17 5 0330.6 13864 10764 Accepted 100
18 5 0294.0 13864 10432 Accepted 100
19 5 0348.0 13864 10064 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
796 Bytes
Back to Top