#2203 Problem F. NASSA’s Robot

1 s   128 MB  

Description

문제 링크 (pdf)

Sample Input

Sample Output

3
RUL?R?D
????????
RRRUU
-1 -2 3 2
-8 -8 8 8
3 2 3 2

Source

2013 ACPC (Arab Collegiate Programming Contest)