QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#637315#7031. Supreme CommandMaMengQiRE 0ms0kbC++2342b2024-10-13 12:07:022024-10-13 12:07:02

详细

Test #1:

score: 0
Runtime Error

input:

1
4 9
3 4
2 1
4 2
1 3
L 2
? 1
? 2
R 1
? 1
? 3
!
U 3
!

output:


result: