Iaroslav Tverdokhlib's submission of Resistance | CodeChef