摘要:
题目:http://acm.hdu.edu.cn/showproblem.php?pid=3792总是超时,搞了半天才搞好,抑郁。。。。。。。。。。。。。。。。。。。。。。代码:[服务器生成]
通行证:KSDA291730794
密码:21024731 #include<stdio.h>
#include<math.h>
#define N 100000
int main(){
int n,i,j,temp,a[N],b[N];
a[0]=a[1]=0;
for(i=2;i<N;i++){
a[i]=1;//数组初始化;
}
temp=(int)sqrt(N);
阅读全文
posted @ 2011-03-14 20:59
江南烟雨hust
阅读(201)
评论(0)
推荐(0)

浙公网安备 33010602011771号