QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#444600#8581. 섬HuangHanSheng6 1ms4464kbC++201.3kb2024-06-15 20:17:572024-06-15 20:17:57

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 6
Accepted

Test #1:

score: 6
Accepted
time: 1ms
memory: 4068kb

input:

4
0 2

output:

1
4
1 0
3 2
2 4
0 4
2
4
1 2
2 0
0 3
3 4
1
3 2 0

result:

ok Correct

Test #2:

score: 6
Accepted
time: 0ms
memory: 3808kb

input:

3

output:

1
3
0 2
2 3
1 3
2
3
2 1
1 0
0 3
1
0 2 1

result:

ok Correct

Test #3:

score: 6
Accepted
time: 0ms
memory: 3824kb

input:

4
3 1

output:

1
4
0 1
2 3
3 4
1 4
2
4
0 3
3 1
1 2
2 4
1
2 3 1

result:

ok Correct

Test #4:

score: 6
Accepted
time: 1ms
memory: 3808kb

input:

5
1 4
1 3

output:

1
5
0 1
2 1
3 1
1 5
4 5
2
5
0 4
2 3
1 4
4 3
3 5
1
3 1 4

result:

ok Correct

Subtask #2:

score: 0
Wrong Answer

Test #5:

score: 0
Wrong Answer
time: 1ms
memory: 3852kb

input:

10
7 0
7 5
7 3
7 1
7 9
7 4
7 2

output:

1
10
6 5
8 7
0 7
1 7
2 7
3 7
4 7
5 7
7 10
9 10
2
11
6 7
8 9
0 1
0 9
1 2
2 3
3 4
4 5
7 9
9 5
5 10
1
5 7 9

result:

wrong answer Wrong Answer, wrong operation

Subtask #3:

score: 0
Wrong Answer

Test #10:

score: 0
Wrong Answer
time: 0ms
memory: 4464kb

input:

5000
4593 3389
4593 1610
4593 2357
4593 3323
4593 2037
4593 3667
4593 2737
4593 2642
4593 3981
4593 2700
4593 2134
4593 1719
4593 1444
4593 3729
4593 1371
4593 546
4593 1249
4593 646
4593 4221
4593 1542
4593 2314
4735 4952
4593 680
4593 2555
4593 2152
4593 740
4593 4056
4593 64
4593 3079
4593 3021
4...

output:

1
5000
4592 4591
4951 4950
0 4593
1 4593
2 4593
3 4593
4 4593
5 4593
6 4593
7 4593
8 4593
9 4593
10 4593
11 4593
12 4593
13 4593
14 4593
15 4593
16 4593
17 4593
18 4593
19 4593
20 4593
21 4593
22 4593
23 4593
24 4593
25 4593
26 4593
27 4593
28 4593
29 4593
30 4593
31 4593
32 4593
33 4593
34 4593
35 ...

result:

wrong answer Wrong Answer, wrong operation

Subtask #4:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #19:

score: 0
Wrong Answer
time: 1ms
memory: 3812kb

input:

10
0 2
6 0
4 2
0 5
6 9
6 8
0 4

output:

1
10
1 0
3 2
7 6
5 0
8 6
9 6
2 0
4 0
0 10
6 10
2
11
1 2
3 4
7 8
5 4
5 6
8 9
9 0
2 4
0 6
6 4
4 10
1
4 0 6

result:

wrong answer Wrong Answer, wrong operation

Subtask #5:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%