CodeChef Discuss
https://www.codechef.com/problems/SCHOOL01
editorial
cakewalk
anon67294882
August 2, 2019, 7:18am
1
shim98
August 2, 2019, 9:19am
2
https://www.codechef.com/viewsolution/25519870
Solved it