Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

HNROBOT - Điều khiển robot

Ví dụ:

Input:
4
LRUD
3 2

Output:
-1
Input:
4
DURL
0 0

Output:
0 0 0 0
Input:
8
LLURDRRD
1 -1

Output:
1 7 6 8


Được gửi lên bởi:noname00.pas
Ngày:2017-11-28
Thời gian chạy:0.100s
Giới hạn mã nguồn:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Ngôn ngữ cho phép:C-CLANG C CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG C99 JAVA PAS-FPC PYTHON PYTHON3
Nguồn bài:Bài tập Ôn HN 01/2017 (Thầy Nguyễn Đức Nghĩa)

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.