题目//暴力的,没什么算法的,被琪琪视为傻逼的代码://照者学长的神奇幸运卡时代码,虽然能AC,但是中途wa,tle了那么多次,啥也不想说了 //学长威武,能想出sum必须要是—— __int64 —— org#define _CRT_SECURE_NO_WARNINGS#include#include#include#includeusing namespace std;struct tt{ int a,b;}c[1000010];int cmp(tt x,tt y){ if(x.a==y.a) return x.b<y.b; return x.a<y... Read More
posted @ 2014-01-18 22:45
laiba2004
Views(178)
Comments(0)
Diggs(0)
题目#define _CRT_SECURE_NO_WARNINGS#include#include#include#includeusing namespace std;int ans[1100];int phi[30010],prime[30010],N=30010;bool is_prime[... Read More
posted @ 2014-01-18 19:47
laiba2004
Views(170)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号