# Score

2444
38816
Accepted
100

Subtask no. Testdata Range Constraints Score
1 0 $N = 1$ 1 / 1
2 0~10 $N \leq 100, \forall 1 \leq i < j \leq N, A_i \neq A_j, B_i \neq B_j$ 9 / 9
3 0~20 $N \leq 1500, \forall 1 \leq i < j \leq N, A_i \neq A_j, B_i \neq B_j$ 30 / 30
4 0~30 $N \leq 2000$ 20 / 20
5 0~40 $N \leq 4000$ 25 / 25
6 0~50 $N \leq 6666$ 15 / 15

# Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 2 3 4 5 6 36 36976 Accepted 100
1 2 3 4 5 6 36 36960 Accepted 100
2 2 3 4 5 6 40 36932 Accepted 100
3 2 3 4 5 6 32 37112 Accepted 100
4 2 3 4 5 6 36 36924 Accepted 100
5 2 3 4 5 6 36 37064 Accepted 100
6 2 3 4 5 6 36 37060 Accepted 100
7 2 3 4 5 6 36 37016 Accepted 100
8 2 3 4 5 6 36 36944 Accepted 100
9 2 3 4 5 6 36 36944 Accepted 100
10 2 3 4 5 6 36 36924 Accepted 100
11 3 4 5 6 40 37192 Accepted 100
12 3 4 5 6 40 37116 Accepted 100
13 3 4 5 6 40 37288 Accepted 100
14 3 4 5 6 40 37256 Accepted 100
15 3 4 5 6 44 37240 Accepted 100
16 3 4 5 6 40 37260 Accepted 100
17 3 4 5 6 40 37256 Accepted 100
18 3 4 5 6 40 37156 Accepted 100
19 3 4 5 6 44 37072 Accepted 100
20 3 4 5 6 40 37164 Accepted 100
21 4 5 6 44 37260 Accepted 100
22 4 5 6 40 37240 Accepted 100
23 4 5 6 44 37196 Accepted 100
24 4 5 6 44 37260 Accepted 100
25 4 5 6 44 37264 Accepted 100
26 4 5 6 44 37256 Accepted 100
27 4 5 6 44 37256 Accepted 100
28 4 5 6 44 37152 Accepted 100
29 4 5 6 44 37260 Accepted 100
30 4 5 6 44 37192 Accepted 100
31 5 6 52 37592 Accepted 100
32 5 6 52 37544 Accepted 100
33 5 6 52 37664 Accepted 100
34 5 6 52 37640 Accepted 100
35 5 6 52 37680 Accepted 100
36 5 6 52 37664 Accepted 100
37 5 6 64 37608 Accepted 100
38 5 6 56 37660 Accepted 100
39 5 6 52 37608 Accepted 100
40 5 6 60 37544 Accepted 100
41 6 64 38724 Accepted 100
42 6 68 38656 Accepted 100
43 6 64 38712 Accepted 100
44 6 64 38816 Accepted 100
45 6 64 38708 Accepted 100
46 6 64 38716 Accepted 100
47 6 64 38776 Accepted 100
48 6 64 38720 Accepted 100
49 6 76 38816 Accepted 100
50 6 68 38676 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.1 KB