Skip to content

魚 (Fish)

Unrated
日本語

Language

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

Statement

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

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

Examples

Sample input 1
4
10 R
4 G
8 B
5 B
Sample output 1
6
Sample input 2
10
26 B
10 B
16 G
20 R
6 R
5 G
13 G
40 R
8 R
33 R
Sample output 2
13

Notes

Tags

No tags yet

Source