QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#466222#7222. The Great HuntMaMengQiWA 1ms3724kbC++201.9kb2024-07-07 17:02:072024-07-07 17:02:07

详细

Test #1:

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

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: 3672kb

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: 1ms
memory: 3724kb

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:

Yes
58 40 98 28 31 63 93 56 54 17 49 55 12 75 36 8 68 67 42 5 71 41 39 60 50 73 81 97 65 77 43 30 16 95 87 83 7 6 88 23 38 94 51 69 32 2 47 86 62 84 11 85 78 14 64 46 19 0 13 92 79 45 44 0 74 100 0 0 10 0 0 0 76 0 27 3 82 0 90 25 0 18 0 48 0 96 57 37 0 0 0 0 9 0 0 0 0 0 1 0

result:

wrong answer Integer 0 violates the range [1, 100]