QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#809923#9866. Extracting WeightsHuangHanShengRE 1ms3732kbC++201.6kb2024-12-11 18:17:072024-12-11 18:17:13

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3604kb

input:

4 1
1 2
2 3
2 4
1 3 2

output:

YES
? 3 2 1 3 2 4 2
! 1 2 3

result:

ok OK 3 numbers

Test #2:

score: 0
Accepted
time: 1ms
memory: 3732kb

input:

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

output:

YES
? 4 5 4 3 1 4 2 5 2
! 4 5 3 2

result:

ok OK 4 numbers

Test #3:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

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

output:

NO

result:

ok Correct

Test #4:

score: -100
Runtime Error

input:

250 1
108 84
37 129
33 68
131 135
26 173
186 25
35 104
78 123
52 115
239 44
166 149
127 210
185 212
246 64
249 143
137 101
82 209
244 29
15 242
20 62
243 151
81 10
42 159
65 71
71 105
166 192
214 225
97 87
86 208
43 60
235 54
77 107
28 147
195 2
45 153
104 180
63 250
205 165
220 206
24 92
12 41
233 ...

output:


result: