QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#802407#9866. Extracting Weightsucup-team5072#WA 4ms5864kbC++231.6kb2024-12-07 13:38:512024-12-07 13:38:53

詳細信息

Test #1:

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

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

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

input:

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

output:

NO

result:

ok Correct

Test #4:

score: -100
Wrong Answer
time: 4ms
memory: 5864kb

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 134 4 16 5 140 6 156 7 16 8 106 9 56 10 81 11 30 12 41 13 174 14 121 15 223 4 72 17 161 18 173 19 171 20 62 21 27 22 102 23 153 24 78 25 38 26 66 21 249 28 40 29 48 11 128 31 108 32 52 33 68 34 164 35 53 36 210 37 128 25 186 39 152 28 147 12 107 42 159 43 60 44 51 45 150 46 103 47 ...

result:

wrong answer Wrong answer in node 2, expected "606574760", but found "435606040".