QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#803921#9866. Extracting Weightsucup-team1721#RE 2ms5652kbC++205.8kb2024-12-07 19:27:202024-12-07 19:27:26

详细

Test #1:

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

input:

4 1
1 2
2 3
2 4
1 3 2

output:

Yes
? 3 1 2 2 3 2 4 
! 1 2 3 

result:

ok OK 3 numbers

Test #2:

score: 0
Accepted
time: 2ms
memory: 5652kb

input:

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

output:

Yes
? 4 1 3 2 4 2 5 4 5 
! 4 5 3 2 

result:

ok OK 4 numbers

Test #3:

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

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:

Yes

result: