Server Time：

1025
16032
Congratulations!
100

# Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 10 / 10
2 2~14 $1 \leq N, M \leq 10^ 5$ 89 / 89
3 15 $1 \leq N, M \leq 3 \cdot 10^ 5$ 1 / 1

# Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 12 10328 Accepted 100
1 1 10 10332 Accepted 100
2 2 12 10356 Accepted 100
3 2 9 10336 Accepted 100
4 2 9 10260 Accepted 100
5 2 55 11332 Accepted 100
6 2 59 11856 Accepted 100
7 2 24 10804 Accepted 100
8 2 90 12324 Accepted 100
9 2 104 12692 Accepted 100
10 2 92 12236 Accepted 100
11 2 95 12212 Accepted 100
12 2 56 11404 Accepted 100
13 2 59 11884 Accepted 100
14 2 114 14228 Accepted 100
15 3 225 16032 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
756 Bytes