ソリティア (Solitaire)
Unrated
日本語
Language
Contribute a translation- Time limit
- 4000 ms
- Memory limit
- 512 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
3 oxo xxo oxo
Sample output 1
14
Sample input 2
10 ooxooxoxoo xooxxxoxxx oxoxoooooo
Sample output 2
149022720
Sample input 3
10 ooxoxxoxoo oxxxxxoxxx oxooxoxoxo
Sample output 3
0
Sample input 4
20 oxooxoxooxoxooxoxoxo oxxxoxoxxxooxxxxxoox oxooxoxooxooxooxoxoo
Sample output 4
228518545
Notes
JOI 2015/2016 ソリティア (Solitaire) · JCIOI · CC BY-SA 4.0
Tags
No tags yet