摘要: 题目链接: 题目 "D. Tree Requests" time limit per test:2 seconds memory limit per test:256 megabytes 问题描述 Roman planted a tree consisting of n vertices. Each 阅读全文
posted @ 2016-07-14 21:43 fenicnn 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 题目链接: 题目 "D. Kefa and Dishes" time limit per test:2 seconds memory limit per test:256 megabytes 问题描述 When Kefa came to the restaurant and sat at a tab 阅读全文
posted @ 2016-07-14 20:21 fenicnn 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 题目链接: 题目 "Graph Construction" Time limit: 3.000 seconds 问题描述 Graph is a collection of edges E and vertices V. Graph has a wide variety of applications 阅读全文
posted @ 2016-07-14 19:56 fenicnn 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 题目链接: 题目 "Copying Books" Time limit: 3.000 seconds 问题描述 Before the invention of book printing, it was very hard to make a copy of a book. All the cont 阅读全文
posted @ 2016-07-14 18:32 fenicnn 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 题目链接: 题目 "Problem 1007 幸运数" Time Limit: 2000 mSec Memory Limit : 131072 KB 问题描述 皮特的幸运数是2和5。只由幸运数字2和5组成的数列,称为幸运数列。对于幸运数列,有两种操作。 1、switch i j 表示数列从第i个数到 阅读全文
posted @ 2016-07-14 09:22 fenicnn 阅读(245) 评论(0) 推荐(0) 编辑