- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 ZOJ 3781 Paint the Grid Reloaded 缩点+bfs
Paint the Grid Reloaded Time Limit: 2 Seconds Memory Limit: 65536 KB Leo has a grid with N rows and M columns. All cells are painted with either black or white initially. Two cells A and
2015-08-24 09:32:46 1055
原创 ZOJ 3780 Paint the Grid Again 模拟
Paint the Grid Again Time Limit: 2 Seconds Memory Limit: 65536 KB Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white). Leo has a ma
2015-08-24 01:34:44 410
原创 QTREE - Query on a tree 树链剖分 或者 动态树
QTREE - Query on a tree no tags You are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. We will ask you to perfrom some instructions
2015-08-21 17:58:05 770
原创 bzoj 1036: [ZJOI2008]树的统计Count (树链剖分)
1036: [ZJOI2008]树的统计Count Time Limit: 10 Sec Memory Limit: 162 MB Submit: 8411 Solved: 3433 [Submit][Status][Discuss] Description 一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。我们将以下面的形式来要求你对这棵树完成一些操作: I.
2015-08-17 13:59:33 1057
原创 bzoj 3196 (Tyvj 1730 二逼平衡树
3196: Tyvj 1730 二逼平衡树 Time Limit: 10 Sec Memory Limit: 128 MB Submit: 1363 Solved: 579 [Submit][Status][Discuss] Description 您需要写一种数据结构(可参考题目标题),来维护一个有序数列,其中需要提供以下操作: 1.查询k在区间内的排名 2.查询区间内排名
2015-08-10 16:28:54 1603
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人