Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

620
5452
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 (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 6 0002.6 6456 3744 Accepted 100
1 2 3 4 5 6 0003.0 6456 3804 Accepted 100
2 2 3 4 5 6 0003.0 6456 3796 Accepted 100
3 2 3 4 5 6 0003.0 6456 3756 Accepted 100
4 2 3 4 5 6 0002.9 6456 3800 Accepted 100
5 2 3 4 5 6 0002.9 6456 3812 Accepted 100
6 2 3 4 5 6 0002.9 6456 3616 Accepted 100
7 2 3 4 5 6 0002.8 6456 3780 Accepted 100
8 2 3 4 5 6 0002.8 6456 3684 Accepted 100
9 2 3 4 5 6 0003.0 6456 3892 Accepted 100
10 2 3 4 5 6 0002.9 6456 3768 Accepted 100
11 3 4 5 6 0007.3 7128 4048 Accepted 100
12 3 4 5 6 0007.3 7128 4028 Accepted 100
13 3 4 5 6 0007.3 7128 4008 Accepted 100
14 3 4 5 6 0007.2 7128 4032 Accepted 100
15 3 4 5 6 0007.1 7128 3956 Accepted 100
16 3 4 5 6 0007.2 7128 3964 Accepted 100
17 3 4 5 6 0007.3 7128 3948 Accepted 100
18 3 4 5 6 0007.3 7128 3944 Accepted 100
19 3 4 5 6 0007.3 7128 3984 Accepted 100
20 3 4 5 6 0007.3 7128 3968 Accepted 100
21 4 5 6 0008.9 7376 4124 Accepted 100
22 4 5 6 0008.9 7368 4024 Accepted 100
23 4 5 6 0009.1 7340 4096 Accepted 100
24 4 5 6 0009.2 7340 4044 Accepted 100
25 4 5 6 0008.9 7340 4148 Accepted 100
26 4 5 6 0009.2 7368 4180 Accepted 100
27 4 5 6 0009.1 7368 4120 Accepted 100
28 4 5 6 0008.9 7368 4064 Accepted 100
29 4 5 6 0008.9 7376 4056 Accepted 100
30 4 5 6 0009.0 7340 3988 Accepted 100
31 5 6 0016.2 8240 4540 Accepted 100
32 5 6 0016.1 8256 4568 Accepted 100
33 5 6 0015.9 8188 4588 Accepted 100
34 5 6 0016.1 8244 4616 Accepted 100
35 5 6 0016.1 8256 4704 Accepted 100
36 5 6 0016.2 8188 4552 Accepted 100
37 5 6 0016.1 8188 4532 Accepted 100
38 5 6 0016.2 8256 4676 Accepted 100
39 5 6 0015.9 8188 4664 Accepted 100
40 5 6 0016.4 8260 4608 Accepted 100
41 6 0026.6 9268 5308 Accepted 100
42 6 0026.2 9268 5376 Accepted 100
43 6 0026.1 9320 5380 Accepted 100
44 6 0026.3 9268 5368 Accepted 100
45 6 0026.3 9320 5360 Accepted 100
46 6 0026.2 9320 5436 Accepted 100
47 6 0026.1 9268 5380 Accepted 100
48 6 0026.2 9320 5376 Accepted 100
49 6 0027.7 9320 5432 Accepted 100
50 6 0026.5 9320 5452 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.49 KB
Back to Top