Skip to content

ウイルス実験 (Virus Experiment)

Unrated
日本語

Language

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

Statement

問題文 1ページ

問題文 2ページ

問題文 3ページ

問題文 4ページ

Examples

Sample input 1
6 3 4
SWNEES
2 1 1 2
1 0 1 3
1 1 2 2
Sample output 1
8
8
Sample input 2
4 4 4
EWWE
1 2 1 2
1 1 1 1
0 0 0 0
2 2 2 4
Sample output 2
3
3

Notes

Tags

No tags yet

Source