Loading

摘要: After a long party Petya decided to return home, but he turned out to be at the opposite end of the town from his home. There are nn crossroads in the 阅读全文
posted @ 2020-02-25 20:27 脂环 阅读(398) 评论(0) 推荐(0) 编辑
摘要: Screen resolution of Polycarp's monitor is a×ba×b pixels. Unfortunately, there is one dead pixel at his screen. It has coordinates (x,y)(x,y) (0≤x<a,0 阅读全文
posted @ 2020-02-25 16:34 脂环 阅读(410) 评论(0) 推荐(0) 编辑
摘要: This is a harder version of the problem. In this version n≤500000n≤500000 The outskirts of the capital are being actively built up in Berland. The com 阅读全文
posted @ 2020-02-25 16:19 脂环 阅读(304) 评论(0) 推荐(0) 编辑