QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#319365#5439. Meet in the MiddleconzloiRE 0ms0kbC++204.3kb2024-02-02 14:53:032024-02-06 19:30:34

详细

Test #1:

score: 0
Dangerous Syscalls

input:

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

output:


result: