#include #include#include#include#include #include#include #define INF 1000000000using namespace std;//typedef long long LL;long long ggcd(long long a...
分类:
其他好文 时间:
2015-09-27 14:51:48
阅读次数:
212
hihoCoder挑战赛12时间限制:1000ms单点时限:1000ms内存限制:256MB描述There is a strange storehouse in PKU. In this storehouse there are n slots for boxes, forming a line. ...
分类:
其他好文 时间:
2015-09-24 20:54:04
阅读次数:
300
DescriptionAfter a day trip with his friend Dick, Harry noticed a strange pattern of tiny holes in the door of his SUV. The local American Tire store ...
分类:
其他好文 时间:
2015-09-24 12:37:33
阅读次数:
168
用这个插件的 知道他不起作用,就应该知道他是做什么的了吧,我的不起作用的原因是版本的问题我在网上查找的用法 是"fnRender":fuction(obj){}可是不起作用 。后来发现是版本的问题,原来有的还有 mRender然后我把 我的改为mRender还是不好使。原来我没注意参数的问题后来改....
分类:
其他好文 时间:
2015-09-16 12:07:29
阅读次数:
128
扩展欧几里得,注意防溢出。http://poj.org/problem?id=2891 1 #include 2 using namespace std; 3 typedef __int64 LL; 4 const int maxn = 1e5 + 10; 5 6 LL a[maxn], r[m.....
分类:
其他好文 时间:
2015-09-13 18:42:18
阅读次数:
117
Problem DescriptionDue to the curse made by the devil,Xiao Ming is stranded on a mountain and can hardly escape.This mountain is pretty strange that i...
分类:
其他好文 时间:
2015-09-12 22:19:59
阅读次数:
363
Problem Description Recently, doge starts to get interested in a strange problem: whether there exists a string A following all the rules below: 1.T.....
分类:
其他好文 时间:
2015-09-06 15:55:54
阅读次数:
216
1061. Dating (20)时间限制50 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSherlock Holmes received a note with some strange strings: "Let's date! 3485...
分类:
其他好文 时间:
2015-09-02 20:47:15
阅读次数:
218
题目链接:http://www.lightoj.com/volume_showproblem.php?problem=1209解法:想了几种方法 ,都是错的,遂看了别人的。get正确姿势。按投票男女分类,关系矛盾的连边。代码:#include
#include
#include
#include
#include...
分类:
其他好文 时间:
2015-08-31 01:16:24
阅读次数:
281
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1548
这个题目很容易让人用广搜。。。无语。。。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define LL long long
#defi...
分类:
其他好文 时间:
2015-08-29 18:54:39
阅读次数:
188