1038.md (1303B)
1 Source: https://codeforces.com/blog/entry/61692 2 3 I hope you guys enjoyed the contest — I hope to host another one soon :D 4 5 With that said, here are the tutorials: 6 7 Tutorial is loading... 8 9 Author's Code: [42591712](/contest/1038/submission/42591712 "Посылка 42591712 от Ashishgup") 10 11 Tutorial is loading... 12 13 Author's Code: [42591830](/contest/1038/submission/42591830 "Посылка 42591830 от Ashishgup") 14 15 Tutorial is loading... 16 17 Author's Code: [42591846](/contest/1038/submission/42591846 "Посылка 42591846 от Ashishgup") 18 19 Tutorial is loading... 20 21 Author's Code: [42591882](/contest/1038/submission/42591882 "Посылка 42591882 от Ashishgup") 22 23 Tutorial is loading... 24 25 Author's Code: [42592019](/contest/1038/submission/42592019 "Посылка 42592019 от Ashishgup") 26 27 Tutorial is loading... 28 29 Author's Code: [42592026](/contest/1038/submission/42592026 "Посылка 42592026 от Ashishgup") 30 31 Tester([cdkrot](/profile/cdkrot "Гроссмейстер cdkrot"))'s Code: [42593206](/contest/1038/submission/42593206 "Посылка 42593206 от Ashishgup") 32 33 For *O*(*n*3) or *O*(*n*2) solution, refer to [this](https://codeforces.com/blog/entry/61692?#comment-456664) comment by [pranjal.ssh](/profile/pranjal.ssh "Международный мастер pranjal.ssh")