UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#133038#2088. 图形复原(resume)191000ms1204kbC++502b2021-07-12 22:34:122021-07-12 22:34:14

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

8
1 3
1 5
5 7
7 8
8 2
2 6
6 4
4 3
3 5
7 2
5 6

output:

1 3 4 6 2 8 7 5 

result:

ok single line: '1 3 4 6 2 8 7 5 '

Test #2:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

3
1 2
2 3
3 1

output:

1 2 3 

result:

ok single line: '1 2 3 '

Test #3:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

9
1 7
4 3
3 5
1 6
6 3
9 5
3 9
3 1
7 8
8 6
6 4
5 2
2 9
9 1

output:

1 7 8 6 4 3 5 2 9 

result:

ok single line: '1 7 8 6 4 3 5 2 9 '

Test #4:

score: 20
Accepted
time: 0ms
memory: 1204kb

input:

20
13 1
13 12
13 4
13 20
1 5
5 10
10 2
2 15
15 12
12 16
12 4
16 7
16 14
16 4
7 14
14 19
19 4
4 3
4 1...

output:

1 5 10 2 15 12 16 7 14 19 4 3 11 8 18 9 6 17 20 13 

result:

ok single line: '1 5 10 2 15 12 16 7 14 19 4 3 11 8 18 9 6 17 20 13 '

Test #5:

score: 20
Accepted
time: 0ms
memory: 1204kb

input:

20
18 14
18 19
18 13
18 12
14 11
11 15
15 19
19 5
19 8
5 8
8 4
8 13
4 17
17 9
9 13
13 3
13 6
3 6
6 2...

output:

1 2 16 10 20 6 3 13 9 17 4 8 5 19 15 11 14 18 12 7 

result:

ok single line: '1 2 16 10 20 6 3 13 9 17 4 8 5 19 15 11 14 18 12 7 '