QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#804138#9866. Extracting Weightsucup-team1721#RE 3ms7188kbC++206.0kb2024-12-07 20:36:522024-12-07 20:37:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3ms
memory: 7188kb

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: -100
Runtime Error

input:

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

output:

Yes
? 5 1 3 2 4 3 5 3 6 5 6 

result: