Problem2872--【Div3】思维+字符串练习 - 访问邻居

2872: 【Div3】思维+字符串练习 - 访问邻居

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description




Sample Input Copy

7
LLRRRLL

Sample Output Copy

4

Source/Category