QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#804115#9866. Extracting Weightsucup-team1721#RE 3ms7304kbC++205.9kb2024-12-07 20:30:482024-12-07 20:30:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
? 4 1 3 2 4 3 5 3 6 

result: