QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#803943#9866. Extracting Weightsucup-team1721#RE 0ms7200kbC++205.9kb2024-12-07 19:34:512024-12-07 19:34:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

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

output:

Yes
? 4 1 3 4 5 4 5 4 5 

result: