acm学习
carrie17
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CodeForce - 742B
题目 There are some beautiful girls in Arpa’s land as mentioned before. Once Arpa came up with an obvious problem: Given an array and a number x, count the number of pairs of indices i, j (1原创 2017-11-25 13:57:55 · 277 阅读 · 0 评论 -
POJ-3279-Fliptile解题思路
POJ-3279-Fliptile解题思路相关文章(写得真的好好)https://blog.youkuaiyun.com/wr132/article/details/45250529题目Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arr...原创 2018-04-02 21:16:09 · 313 阅读 · 0 评论 -
HDU 1069 Monkey and Banana
Monkey and BananaA group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a building, and at the mean time, provide the monkey with som...原创 2018-05-21 20:10:46 · 137 阅读 · 0 评论 -
UVA11987:Almost Union-Find
UVA11987:Almost Union-Find题意:给m,n分别表示元素个数和操作次数操作分成3种:1 p q 将p所在的集合和q所在的集合合并2 p q 将p移至q所在的集合输出p所在集合的元素个数和元素和思路: 并查集,通过编号标记节点,对于2操作,当移除一个元素时,改变元素的标记,相当于使此元素自成一树,然后进行1操作 #include <iostr...原创 2018-08-23 21:31:12 · 215 阅读 · 0 评论 -
2017CCPC秦皇岛ZOJ 3988 Prime Set
#include <iostream>#include <cstdio>#include <cstring>#include <string>#include <algorithm>#include <cmath>#include <map>#include <queue>原创 2018-10-20 15:39:53 · 199 阅读 · 0 评论 -
HDU - 1074 Doing Homework
//状压DP//Doing Homework#include <iostream>#include <cstring>#include <string>#include <algorithm>#include <cmath>using namespace std;#define INF 0x3f3f3f3fstruc...原创 2018-11-24 11:00:23 · 210 阅读 · 0 评论 -
HDU - 1160 FatMouse's Speed
FatMouse’s SpeedFatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mice and put as large a subset of this data as possibl...原创 2018-11-24 14:40:37 · 190 阅读 · 0 评论 -
HDU - 1074 Doing Homework
HDU - 1074 Doing Homework题目Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius h...原创 2019-03-26 21:06:32 · 251 阅读 · 0 评论
分享