摘要: 模版题的世界 题目1 : 无根数变有根树 题目1 : 无根数变有根树 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定一棵包含 N 个节点的无根树,小Hi想知道如果指定其中某个节点 K 为根,那么每个节点的父节点是谁? 输入 第一行包含一个整数 N 和 K。1 ≤  阅读全文
posted @ 2017-07-30 14:34 暴力都不会的蒟蒻 阅读(462) 评论(0) 推荐(0)
摘要: Clarke is a patient with multiple personality disorder. One day, Clarke turned into a learner of geometric. When he did a research with polygons, he f 阅读全文
posted @ 2017-07-30 12:07 暴力都不会的蒟蒻 阅读(333) 评论(0) 推荐(0)
摘要: Crossings Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100463 Description Given a permutation P of {0, 1, ..., n − 1}, we de 阅读全文
posted @ 2017-07-30 09:59 暴力都不会的蒟蒻 阅读(293) 评论(0) 推荐(0)
摘要: A -- A simple math problem Time Limit:2s Memory Limit:128MByte Submissions:1599Solved:270 A -- A simple math problem Time Limit:2s Memory Limit:128MBy 阅读全文
posted @ 2017-07-30 09:25 暴力都不会的蒟蒻 阅读(348) 评论(0) 推荐(0)