987.md (1612B)
1 Source: https://codeforces.com/blog/entry/59758 2 3 I want to apologize once more for queue problems. It has also aggravated some tight ML/TL issues which probably would be not so big otherwise. I hope you enjoyed the problems nevertheless. 4 5 Tutorial is loading... 6 7 [38799778](/contest/987/submission/38799778 "Submission 38799778 by Um_nik") 8 9 Tutorial is loading... 10 11 [38799800](/contest/987/submission/38799800 "Submission 38799800 by Um_nik") — logs 12 [38799811](/contest/987/submission/38799811 "Submission 38799811 by Um_nik") — case analisys 13 14 Tutorial is loading... 15 16 [38799824](/contest/987/submission/38799824 "Submission 38799824 by Um_nik") 17 18 Tutorial is loading... 19 20 [38799831](/contest/986/submission/38799831 "Submission 38799831 by Um_nik") 21 22 Tutorial is loading... 23 24 [38799840](/contest/986/submission/38799840 "Submission 38799840 by Um_nik") 25 26 I hope that [Petr](/profile/Petr "Legendary Grandmaster Petr") is not mad at me for my joke. 27 28 Tutorial is loading... 29 30 [38799850](/contest/986/submission/38799850 "Submission 38799850 by Um_nik") 31 [38799853](/contest/986/submission/38799853 "Submission 38799853 by Um_nik") — completely different solution with complexity *O*(6*n* / 2) 32 33 Tutorial is loading... 34 35 [38799873](/contest/986/submission/38799873 "Submission 38799873 by Um_nik") 36 37 Tutorial is loading... 38 39 [38799881](/contest/986/submission/38799881 "Submission 38799881 by Um_nik") 40 41 I hope that [PrinceOfPersia](/profile/PrinceOfPersia "Master PrinceOfPersia") is not mad at me for my joke. 42 43 Tutorial is loading... 44 45 [38799887](/contest/986/submission/38799887 "Submission 38799887 by Um_nik")