自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 zoj1842 Prime Distance

//zoj1842 Prime Distance//Accepted 1842 C++ 00:00.13 1852K //Sieve of Eratosthenes//Sieve is the best prime generator algorithm//http://www.comp.nus.edu.sg/~stevenha/programming/prog_mathema

2006-11-11 17:30:00 1575 2

原创 zoj1312 Prime Cuts

//zoj1312 Prime Cuts //Accepted 1312 C++ 00:00.00 844K #include using namespace std; int plist[1000],pcnt;

2006-11-11 17:24:00 1017

原创 zoj1569 Partial Sums

sum[i...j] = a[i]+a[i+1]+...+a[j] = sum[1...j]-sum[1...i-1],1 =分两种情况:1、i=1时,sum[1...j]%m==0,cnt++;2、i>1时,sum[i...j]%m==0 (sum[1...j]-sum[1...i-1])%m==0 sum[1...j]%m==sum[1...i-1]%m (令= k != 0)

2006-11-11 17:21:00 1036

原创 zoj1222 Just the Facts

//zoj1222 Just the Facts //Accepted 1222 C++ 00:00.00 392K #include #include #define MAXN 1000 int l

2006-11-11 17:19:00 1107

原创 zoj1216 Deck

//zoj1216 Deck //1947115 2006-07-15 20:24:46 Accepted 1216 C++ 00:00.01 1172K fairylan #include #define MAXN 100000 double f[MAXN]

2006-11-11 17:15:00 1093

原创 zoj1180 Self Numbers

//zoj1180 Self Numbers //Accepted 1180 C++ 00:00.29 1360K #include #include #define MAXN 1000000 boo

2006-11-11 17:14:00 980

原创 zoj1160 Biorhythms

//zoj1160 Biorhythms //Accepted 1160 C++ 00:00.02 396K /* Chinese remainder theorem a1 = p, a2 = e, a3 = i m1 = 23

2006-11-11 17:12:00 845

原创 zoj1092 Arbitrage

//zoj1092 Arbitrage //Accepted 1092 C++ 00:00.07 400K #include #include #define MAXN 30 typedef doub

2006-11-11 17:11:00 801

原创 zoj1082 Stockbroker Grapevine

//zoj1082 Stockbroker Grapevine //Accepted 1082 C++ 00:00.00 472K #include #define MAXN 100 #define INF 100000000

2006-11-11 17:08:00 858

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除