Note: the number of moves ($K$) can be $0$.
QOJ.ac
QOJ
Time Limit:
2 s
Memory Limit:
2048 MB
Total points:
25
# 2735. Shifty Grid
Statistics
The problem was used in the following contest:
Note: the number of moves ($K$) can be $0$.