QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#807148#9866. Extracting Weightsucup-team1721WA 56ms5332kbC++236.4kb2024-12-09 19:24:592024-12-09 19:25:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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

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: 56ms
memory: 5048kb

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:

No

result:

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