Game of Flying Circus Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=5…
分类:Online Judge
HDU 1722 Cake 数学题
#include<iostream> #include<stdio.h> #include<math.h> using namespace std; long long gcd(lon…
CROC 2016 - Qualification C. Hostname Aliases map
C. Hostname Aliases 题目连接: http://www.codeforces.com/contest/644/problem/C Description There are some websites …
POJ 3692 Kindergarten(二分图匹配)
Kindergarten Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 3866 Accepted: 1832 Desc…
HDU 5833 Zhu and 772002 高斯消元
Zhu and 772002 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5833 Description Zhu and 772002 are both good a…
HDU 3613 Best Reward (扩展KMP)
Best Reward Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Ot…
Codeforces Round #397 by Kaspersky Lab and Barcelona Bootcamp (Div. 1 + Div. 2 combined) E. Tree Folding 拓扑排序
E. Tree Folding 题目连接: http://codeforces.com/contest/765/problem/E Description Vanya wants to minimize a tree. …
Codeforces Round #373 (Div. 2) C. Efim and Strange Grade 水题
C. Efim and Strange Grade 题目连接: http://codeforces.com/contest/719/problem/C Description Efim just received his…
Codeforces Beta Round #6 (Div. 2 Only) D. Lizards and Basements 2 dfs
D. Lizards and Basements 2 题目连接: http://codeforces.com/contest/6/problem/D Description This is simplified vers…
ACM/ICPC 之 最短路径-dijkstra范例(ZOJ2750-POJ1135(ZOJ1298))
最短路经典算法-dijkstra范例(两道),第一道是裸的dijkstra,第二道需要枚举所有边已找到可能的情况。 ZOJ2750-Idiomatic Phrases Game …
CDOJ 第七届ACM趣味程序设计竞赛第三场(正式赛) 题解
宝贵资源 题目连接: http://acm.uestc.edu.cn/#/problem/show/1265 题意 平面上给n个点(n<=1000),要求找一个面积最小的正方形,将所有的点都囊括进去。 要求正方形的…
HDU 1039[Easier Done Than Said?] 字符串处理
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1039 题目大意:给一个字符串,看是否符合密码的要求。 规则:1.至少有1个元音字母。2.不能有3个连续的元音字母或辅音字母…