Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4068
36380
Memory Limit Exceeded
40

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$ 0 / 20
5 0~40 $N \leq 4000$ 0 / 25
6 0~50 $N \leq 6666$ 0 / 15

Testdata Results

Testdata no. Subtasks Time (ms) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 6 0000.0 3248 Accepted 100
1 2 3 4 5 6 0000.0 3208 Accepted 100
2 2 3 4 5 6 0000.0 3312 Accepted 100
3 2 3 4 5 6 0000.0 3352 Accepted 100
4 2 3 4 5 6 0000.0 3320 Accepted 100
5 2 3 4 5 6 0000.0 3492 Accepted 100
6 2 3 4 5 6 0000.0 3396 Accepted 100
7 2 3 4 5 6 0000.0 3312 Accepted 100
8 2 3 4 5 6 0000.0 3372 Accepted 100
9 2 3 4 5 6 0000.0 3460 Accepted 100
10 2 3 4 5 6 0000.0 3328 Accepted 100
11 3 4 5 6 0016.0 4080 Accepted 100
12 3 4 5 6 0016.0 4136 Accepted 100
13 3 4 5 6 0016.0 4080 Accepted 100
14 3 4 5 6 0016.0 4160 Accepted 100
15 3 4 5 6 0016.0 4168 Accepted 100
16 3 4 5 6 0016.0 4248 Accepted 100
17 3 4 5 6 0016.0 4152 Accepted 100
18 3 4 5 6 0016.0 4060 Accepted 100
19 3 4 5 6 0016.0 4108 Accepted 100
20 3 4 5 6 0020.0 4096 Accepted 100
21 4 5 6 0204.0 19676 Wrong Answer 0
22 4 5 6 0184.0 19580 Wrong Answer 0
23 4 5 6 0024.0 5316 Accepted 100
24 4 5 6 0028.0 4944 Accepted 100
25 4 5 6 0024.0 5116 Accepted 100
26 4 5 6 0192.0 19524 Wrong Answer 0
27 4 5 6 0188.0 19428 Wrong Answer 0
28 4 5 6 0200.0 19716 Wrong Answer 0
29 4 5 6 0208.0 19540 Wrong Answer 0
30 4 5 6 0024.0 5292 Accepted 100
31 5 6 0156.0 36156 Memory Limit Exceeded 0
32 5 6 0152.0 36144 Memory Limit Exceeded 0
33 5 6 0080.0 7468 Wrong Answer 0
34 5 6 0152.0 36064 Memory Limit Exceeded 0
35 5 6 0152.0 36372 Memory Limit Exceeded 0
36 5 6 0060.0 7300 Wrong Answer 0
37 5 6 0060.0 7328 Wrong Answer 0
38 5 6 0156.0 36352 Memory Limit Exceeded 0
39 5 6 0060.0 7280 Wrong Answer 0
40 5 6 0156.0 36380 Memory Limit Exceeded 0
41 6 0156.0 36152 Memory Limit Exceeded 0
42 6 0152.0 36316 Memory Limit Exceeded 0
43 6 0140.0 11536 Wrong Answer 0
44 6 0156.0 36296 Memory Limit Exceeded 0
45 6 0124.0 11620 Wrong Answer 0
46 6 0116.0 11456 Wrong Answer 0
47 6 0156.0 36236 Memory Limit Exceeded 0
48 6 0160.0 19792 Wrong Answer 0
49 6 0132.0 11488 Wrong Answer 0
50 6 0152.0 11516 Wrong Answer 0
Submitter:
Compiler:
c++14
Code Length:
1.64 KB
Back to Top