家具の配置 (Furniture)
Unrated
日本語
Language
Contribute a translation- Time limit
- 10000 ms
- Memory limit
- 512 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
2 3 0 0 1 0 0 0 3 2 2 2 1 1 2
Sample output 1
0 1 0
Sample input 2
2 5 0 0 0 0 0 0 0 0 1 0 2 1 2 2 2
Sample output 2
0 1
Notes
JOI Open Contest 2020 · JCIOI · CC BY-SA 4.0
Tags
No tags yet