(Idea of the problem Div2A — ScreaMood)

(Developer of the problem Div2A — DmitryGrigorev)

(Idea of the problem Div2B — Choopa_choops)

(Developer of the problem Div2B — DmitryGrigorev)

(Idea of the problem Div1A — Mr.Hakimov)

(Developer of the problem Div1A — Mr.Hakimov)

(Idea of the problem Div1B — DmitryGrigorev)

(Developer of the problem Div1B — PeregudovSergey)

(Idea of the problem Div1C — osaaateiasavtnl.)

(Developer of the problem Div1C — osaaateiasavtnl.)

(Idea of the problem Div1D — DmitryGrigorev)

(Developers of the problem Div1D — osaaateiasavtnl. и DmitryGrigorev)

Read this comment of socketnaut about another approach for this problem.

(Idea of the problem Div1E — DmitryGrigorev)

(Developer of the problem Div1E — TheWayISteppedOutTheCar)