QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#808626#9866. Extracting Weightsucup-team4269RE 1ms3632kbC++203.3kb2024-12-10 22:30:432024-12-10 22:30:44

详细

Test #1:

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

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 2 3 4

output:

YES
? 4 1 3 2 4 2 5 4 5

result: