摘要:
问题 J: free 题目描述 Your are given an undirect connected graph.Every edge has a cost to pass.You should choose a path from S to T and you need to pay for 阅读全文
摘要:
B. Lynyrd Skynyrd time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently Lynyrd and Sk 阅读全文
摘要:
1935: [Shoi2007]Tree 园丁的烦恼 Description 很久很久以前,在遥远的大陆上有一个美丽的国家。统治着这个美丽国家的国王是一个园艺爱好者,在他的皇家花园里种植着各种奇花异草。有一天国王漫步在花园里,若有所思,他问一个园丁道: “最近我在思索一个问题,如果我们把花坛摆成六个 阅读全文
摘要:
C. On Changing Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a root 阅读全文