Skip to content

白黒の点 (Monochrome Points)

Unrated
日本語

Language

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

Statement

問題文 1ページ

問題文 2ページ

Examples

Sample input 1
3
BBWWBW
Sample output 1
2
Sample input 2
5
BWBWBBWBWW
Sample output 2
8
Sample input 3
10
WBBBWBBWWBWWBWWBWBWB
Sample output 3
41
Sample input 4
16
WWWBWBBBBWWBWWBWWBBWWBBBWBBBWWBW
Sample output 4
105

Notes

Tags

No tags yet

Source