QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#806612#9866. Extracting Weightsucup-team4364#WA 2ms4024kbC++203.0kb2024-12-09 12:57:492024-12-09 12:57:49

詳細信息

Test #1:

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

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

input:

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

output:

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

result:

ok OK 4 numbers

Test #3:

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

input:

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

output:

NO

result:

ok Correct

Test #4:

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

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
? 249 2 195 3 162 4 72 5 140 6 207 7 99 8 106 9 110 10 81 11 30 12 41 13 174 14 235 15 242 7 16 17 177 18 173 19 171 20 62 21 249 22 218 23 153 24 92 25 186 26 173 21 27 28 147 29 244 11 128 31 172 32 52 33 68 34 164 35 104 36 226 37 129 25 38 39 194 28 40 12 107 42 159 43 60 44 239 45 153 46 10...

result:

ok OK 249 numbers

Test #5:

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

input:

250 1
159 6
156 104
218 66
172 38
158 142
37 143
171 240
53 204
139 103
152 177
213 231
91 93
75 77
39 125
239 28
196 237
185 209
40 219
43 114
129 222
162 247
140 23
48 35
184 215
186 155
58 178
178 98
82 91
238 164
33 54
127 165
60 151
2 7
160 223
189 247
50 209
189 205
81 49
237 180
88 156
225 20...

output:

YES
? 249 2 7 3 237 4 92 5 56 6 159 2 168 8 214 9 106 10 103 11 155 12 179 13 194 14 184 15 112 16 86 17 101 18 56 19 68 20 217 21 131 22 142 23 140 24 230 25 139 26 56 27 224 28 239 29 182 30 238 31 221 32 200 33 54 34 162 31 35 36 108 37 143 38 172 39 125 40 219 41 86 42 160 43 114 44 230 33 45 46...

result:

ok OK 249 numbers

Test #6:

score: -100
Wrong Answer
time: 2ms
memory: 4024kb

input:

250 2
138 236
154 181
103 227
74 169
248 123
25 69
26 157
250 216
164 75
89 215
93 43
76 56
56 153
88 139
121 72
130 228
231 198
224 75
238 235
66 8
119 77
129 204
125 30
204 165
113 60
156 14
226 192
54 201
61 70
59 62
11 233
60 44
240 177
79 152
88 13
137 26
186 133
94 134
180 246
167 126
61 79
10...

output:

NO

result:

wrong answer Expected "YES", but found "NO"