セルオートマトン (Cell Automaton)
Unrated
日本語
Language
Contribute a translation- Time limit
- 10000 ms
- Memory limit
- 1024 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
2 3 0 2 1 0 0 1 2
Sample output 1
2 8 12
Sample input 2
3 5 0 0 2 2 5 5 0 1 2 3 4
Sample output 2
3 12 21 24 26
Sample input 3
4 10 -3 -3 3 3 -4 4 4 -4 0 1 2 3 4 5 6 7 8 9
Sample output 3
4 16 32 48 56 56 55 56 60 64
Notes
JOI Open Contest 2023 · JCIOI · CC BY-SA 4.0
Tags
No tags yet