摘要: E. Digit Tree time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output E. Digit Tree time limit p 阅读全文
posted @ 2018-01-30 18:43 蒟蒻JHY 阅读(396) 评论(0) 推荐(0) 编辑
摘要: Dicription You have a connected directed graph.Let $d(x)$ be the length of the shortest path from $1$ to $x$.Specially $d(1)=0$.A graph is good if the 阅读全文
posted @ 2018-01-30 16:02 蒟蒻JHY 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Discription Priests of the Quetzalcoatl cult want to build a tower to represent a power of their god. Tower is usually made of power-charged rocks. It 阅读全文
posted @ 2018-01-30 11:54 蒟蒻JHY 阅读(361) 评论(3) 推荐(0) 编辑