Robot Queries
1902D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
8 3RDLLUURU-1 2 1 70 0 3 40 1 7 8
Output
YESYESNO
Sample 2of 3
Input
4 2RLDU0 0 2 2-1 -1 2 3
Output
YESNO
Sample 3of 3
Input
10 6DLUDLRULLD-1 0 1 10-1 -2 2 5-4 -2 6 10-1 0 3 90 1 4 7-3 -1 5 8
Output
YESYESYESNOYESYES
58%
1902D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)