2009年9月9日

pku 3006

摘要: 速度敲代码#include#include#define N 1000000using namespace std;bool prime[N];void p(void){ int i,j,len; len=(int)sqrt((float)N); memset(pri... 阅读全文

posted @ 2009-09-09 23:59 草头菜 阅读(140) 评论(0) 推荐(0)

pku 1503

摘要: 用char数组 wa用string类 ac不解#include//#include#includeusing namespace std;string n;int s[103];int main(){ int i,j,len; memset(s,0,sizeof(in... 阅读全文

posted @ 2009-09-09 23:05 草头菜 阅读(112) 评论(0) 推荐(0)

导航