QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#198469#7516. Robot Experimentucup-team1091TL 1ms3536kbC++204.2kb2023-10-03 14:06:442023-10-03 14:06:44

详细

Test #1:

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

input:

2
RU

output:

4
0 0
0 1
1 0
1 1

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 3428kb

input:

4
LRUD

output:

4
0 -1
0 0
1 -1
1 0

result:

ok 5 lines

Test #3:

score: -100
Time Limit Exceeded

input:

20
LLLRLRLRLLLRLLRLRLLR

output:

8
-6 0
-5 0
-4 0
-3 0
-2 0
-1 0
0 0
1 0

result: