QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#466201#7222. The Great HuntGuanYunchangWA 0ms3796kbC++201.8kb2024-07-07 16:56:072024-07-07 16:56:07

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3668kb

input:

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

output:

Yes
7 10 8 2 1 3 5 6 9 4

result:

ok 

Test #2:

score: 0
Accepted
time: 0ms
memory: 3748kb

input:

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

output:

No

result:

ok 

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3796kb

input:

100
19 1
49 19
13 49
5 13
98 5
27 98
76 27
38 76
67 38
14 67
75 14
44 75
9 44
45 9
82 45
57 82
16 57
18 16
37 18
3 37
50 3
42 50
32 42
60 32
48 60
10 48
90 10
93 90
25 93
94 25
78 94
51 78
40 51
86 40
85 86
23 85
87 23
83 87
7 83
28 7
88 28
2 88
56 2
47 56
79 47
97 79
95 97
39 95
73 39
55 73
8 55
46...

output:

No

result:

wrong answer