ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1401. Gamers

wa 10
Posted by 👑TIMOFEY👑 30 Oct 2022 13:33
3
3 2
u need to think
Re: wa 10
Posted by vtalgo24_Zakusov_367223 10 Mar 2024 19:18
wa 10

output for "3 3 2":

1 1 2 2 8 8 6 6
1 5 5 2 8 10 10 6
3 0 5 4 9 9 10 7
3 3 4 4 21 9 7 7
12 12 14 21 21 19 18 18
12 15 14 14 19 19 20 18
11 15 15 13 17 20 20 16
11 11 13 13 17 17 16 16
Re: wa 10
Posted by vtalgo24_Zakusov_367223 10 Mar 2024 19:20
no overflow, checked all cases for n \in {1, 2, 3}