上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 55 下一页
摘要: E. Minimum spanning tree for each edge time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C 阅读全文
posted @ 2017-04-30 22:04 jhz033 阅读(332) 评论(0) 推荐(0) 编辑
摘要: D. Gadgets for dollars and pounds time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Gad 阅读全文
posted @ 2017-04-30 20:37 jhz033 阅读(219) 评论(0) 推荐(0) 编辑
摘要: D. Water Tree time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output D. Water Tree time limit p 阅读全文
posted @ 2017-04-29 16:50 jhz033 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 4034: [HAOI2015]树上操作 Description 有一棵点数为 N 的树,以点 1 为根,且树点有边权。然后有 M 个 操作,分为三种: 操作 1 :把某个节点 x 的点权增加 a 。 操作 2 :把某个节点 x 为根的子树中所有点的点权都增加 a 。 操作 3 :询问某个节点 x 阅读全文
posted @ 2017-04-29 16:21 jhz033 阅读(443) 评论(0) 推荐(0) 编辑
摘要: #228. 基础数据结构练习题 统计 描述 提交 自定义测试 sylvia 是一个热爱学习的女孩子,今天她想要学习数据结构技巧。 在看了一些博客学了一些姿势后,她想要找一些数据结构题来练练手。于是她的好朋友九条可怜酱给她出了一道题。 给出一个长度为 nn 的数列 AA,接下来有 mm 次操作,操作有 阅读全文
posted @ 2017-04-29 15:11 jhz033 阅读(426) 评论(7) 推荐(0) 编辑
摘要: 1036: [ZJOI2008]树的统计Count Description 一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。我们将以下面的形式来要求你对这棵树完成一些操作: I. CHANGE u t : 把结点u的权值改为t II. QMAX u v: 询问从点u到点v的路径上的节点 阅读全文
posted @ 2017-04-27 19:28 jhz033 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://www.spoj.com/problems/QTREE/en/ QTREE - Query on a tree #tree #tree You are given a tree (an acyclic undirected connected graph) with N no 阅读全文
posted @ 2017-04-27 18:49 jhz033 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 今天实在累了,还有的题晚点补。。。。 题目链接:http://acm.hzau.edu.cn/problemset.php?page=3 题目:acm.hzau.edu.cn/5th.pdf A:Little Red Riding Hood 题意:给你n朵花,每朵花有个权值,然后每次取花最少要间隔k 阅读全文
posted @ 2017-04-23 23:45 jhz033 阅读(388) 评论(5) 推荐(0) 编辑
摘要: G. The Declaration of Independence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output In 177 阅读全文
posted @ 2017-04-21 21:25 jhz033 阅读(312) 评论(0) 推荐(0) 编辑
摘要: IITWPC4F - Gopu and the Grid Problem no tags no tags Gopu is interested in the integer co-ordinates of the X-Y plane (0<=x,y<=100000). Each integer co 阅读全文
posted @ 2017-04-18 17:20 jhz033 阅读(203) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 55 下一页