摘要:
//小心格式问题#include #include #include using namespace std;int str[100010];int main(){ int step,mod;while(cin>>step>>mod){ memset(str,10010,sizeof(str)); str[0]=1; int seed=0; for(int i=0;i... 阅读全文
posted @ 2013-03-07 06:55
码代码的猿猿
阅读(94)
评论(0)
推荐(0)
摘要:
#include #include using namespace std;int main(){ string str; int n; cin>>str; while(str!="0") { n=0; for(int i=0;i=10) { n=sum; s... 阅读全文
posted @ 2013-03-07 05:58
码代码的猿猿
阅读(90)
评论(0)
推荐(0)
摘要:
#include #include using namespace std;int xxx(int i){ int xx=1; while(i>0) { xx*=i; i--; } return xx;}int main(){ cout<<"n e"<<endl; cout<<"- -----------"<<endl; ... 阅读全文
posted @ 2013-03-07 05:22
码代码的猿猿
阅读(98)
评论(0)
推荐(0)