Educational Codeforces Round 53 (Rated for Div. 2) C. Vasya and Robot 【二分 + 尺取】
任意門:http://codeforces.com/contest/1073/problem/C
C. Vasya and Robot
time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputVasya has got a robot which is situated on an infinite Cartesian plane, initially in the cell
- U — move from (x,y) to (x,y+1)
- D — move from (x,y)to (x,y−1)
- L — move from (x,y)to (x−1,y)
- R — move from