Time to Run
1301D2000· candidate master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 5
Input
3 3 4
Output
YES22 R2 L
Sample 2of 5
Input
3 3 1000000000
Output
NO
Sample 3of 5
Input
3 3 8
Output
YES32 R2 D1 LLRR
Sample 4of 5
Input
4 4 9
Output
YES13 RLD
Sample 5of 5
Input
3 4 16
Output
YES83 R3 L1 D3 R1 D1 U3 L1 D
58%
1301D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…