Skip to content

誘拐 (Abduction)

Unrated
日本語

Language

Contribute a translation
Time limit
1000 ms
Memory limit
64 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

誘拐:公式日本語問題文1ページ

誘拐:公式日本語問題文2ページ

Examples

Sample input 1
4 3
7
LRRRLLL
Sample output 1
80
Sample input 2
4 4
3
RLR
Sample output 2
9

Notes

Tags

No tags yet

Source