Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4244
34948
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.5 13868 3680 Accepted 100
1 1 0002.6 13868 3760 Accepted 100
2 1 0002.5 13868 3552 Accepted 100
3 1 0002.4 13868 3556 Accepted 100
4 2 0003.2 13868 3604 Accepted 100
5 2 0003.1 13868 3676 Accepted 100
6 2 0003.1 13868 3700 Accepted 100
7 2 0003.2 13868 3484 Accepted 100
8 3 0003.3 13868 3756 Accepted 100
9 3 0002.8 14004 3688 Accepted 100
10 3 0003.2 13868 3708 Accepted 100
11 3 0002.7 14004 3632 Accepted 100
12 4 0615.3 29312 24208 Accepted 100
13 4 0588.3 28784 23656 Accepted 100
14 4 0540.5 27992 22592 Accepted 100
15 4 0607.0 29444 24360 Accepted 100
16 5 0674.0 34664 29664 Accepted 100
17 5 0389.9 41588 34948 Accepted 100
18 5 0357.5 40548 33552 Accepted 100
19 5 0437.3 39352 31304 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.03 KB
Back to Top