![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 212 阅读 · 0 评论 -
POJ-3279-Fliptile解题思路
POJ-3279-Fliptile解题思路 相关文章(写得真的好好)https://blog.csdn.net/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 · 242 阅读 · 0 评论 -
HDU 1069 Monkey and Banana
Monkey and Banana A 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 · 97 阅读 · 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 · 157 阅读 · 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 · 132 阅读 · 0 评论 -
HDU - 1074 Doing Homework
//状压DP //Doing Homework #include <iostream> #include <cstring> #include <string> #include <algorithm> #include <cmath> using namespace std; #define INF 0x3f3f3f3f struc...原创 2018-11-24 11:00:23 · 148 阅读 · 0 评论 -
HDU - 1160 FatMouse's Speed
FatMouse’s Speed FatMouse 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 · 136 阅读 · 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 · 184 阅读 · 0 评论