ビ太郎の旅 2 (Bitaro’s Travel 2)
Unrated
日本語
Language
Contribute a translation- Time limit
- 4000 ms
- Memory limit
- 1024 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
2 4 5 1 3 22 1 8 13 6 16 6 1 1 2 2 1 1 1 3 1 1 2 3 1 1 2 4 1 1 1 4 1 1 1 2
Sample output 1
3 -1 3 4 4 1
Sample input 2
6 5 11 175 100 110 117 158 144 133 123 150 191 167 252 219 181 346 231 241 280 201 209 261 332 325 225 338 269 298 315 291 308 12 1 1 4 2 1 1 1 5 1 1 5 1 1 1 5 4 1 1 3 4 1 1 6 4 1 1 2 5 1 1 3 1 1 1 4 4 1 1 5 5 1 1 6 2 1 1 6 1
Sample output 2
8 1 10 6 1 13 2 1 3 19 14 11
Sample input 3
4 4 5 53 55 51 49 56 60 89 45 54 57 92 43 96 99 95 92 9 1 4 2 3 4 1 3 2 2 4 2 3 2 1 4 1 1 2 1 1 2 4 1 1 4 1 2 3 3 4 1 1 1 3 1 4
Sample output 3
-1 1 -1 -1 1 3 1 4 1
Notes
JOI 2024/2025 ビ太郎の旅 2 · JCIOI · CC BY-SA 4.0
Tags
No tags yet