Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

892
11640
Accepted
100

Subtask Results

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 0 3488 Accepted 100
1 2 3 4 5 6 0 3696 Accepted 100
2 2 3 4 5 6 0 3740 Accepted 100
3 2 3 4 5 6 0 3680 Accepted 100
4 2 3 4 5 6 0 3680 Accepted 100
5 2 3 4 5 6 0 3660 Accepted 100
6 2 3 4 5 6 0 3624 Accepted 100
7 2 3 4 5 6 0 3584 Accepted 100
8 2 3 4 5 6 0 3588 Accepted 100
9 2 3 4 5 6 0 3556 Accepted 100
10 2 3 4 5 6 0 3588 Accepted 100
11 3 4 5 6 8 5312 Accepted 100
12 3 4 5 6 8 5148 Accepted 100
13 3 4 5 6 8 5212 Accepted 100
14 3 4 5 6 12 5168 Accepted 100
15 3 4 5 6 8 5216 Accepted 100
16 3 4 5 6 8 5136 Accepted 100
17 3 4 5 6 8 5204 Accepted 100
18 3 4 5 6 8 5152 Accepted 100
19 3 4 5 6 8 5148 Accepted 100
20 3 4 5 6 12 5220 Accepted 100
21 4 5 6 12 5264 Accepted 100
22 4 5 6 12 5232 Accepted 100
23 4 5 6 12 5192 Accepted 100
24 4 5 6 12 5124 Accepted 100
25 4 5 6 12 5120 Accepted 100
26 4 5 6 12 5196 Accepted 100
27 4 5 6 12 5180 Accepted 100
28 4 5 6 12 5144 Accepted 100
29 4 5 6 12 5188 Accepted 100
30 4 5 6 12 5192 Accepted 100
31 5 6 24 7392 Accepted 100
32 5 6 24 7316 Accepted 100
33 5 6 24 7360 Accepted 100
34 5 6 24 7344 Accepted 100
35 5 6 24 7392 Accepted 100
36 5 6 24 7404 Accepted 100
37 5 6 24 7332 Accepted 100
38 5 6 24 7236 Accepted 100
39 5 6 24 7316 Accepted 100
40 5 6 24 7284 Accepted 100
41 6 44 11548 Accepted 100
42 6 40 11624 Accepted 100
43 6 44 11640 Accepted 100
44 6 44 11516 Accepted 100
45 6 44 11520 Accepted 100
46 6 44 11484 Accepted 100
47 6 48 11556 Accepted 100
48 6 48 11592 Accepted 100
49 6 44 11576 Accepted 100
50 6 44 11516 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.82 KB
Back to Top