摘要: #include #include #include #include #include #include #include using namespace std; int a; char b[100]; float s; int main(){ scanf("%d %s",&a,b); //printf("%s\n",b); int len = strlen(b)... 阅读全文
posted @ 2017-03-30 15:01 shiningrise 阅读(285) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std; float b; int main(){ scanf("%f",&b); cout=1) { cout<<"1"; b = b -1; ... 阅读全文
posted @ 2017-03-30 14:27 shiningrise 阅读(167) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std; char a[100]; long b; long s; int main(){ scanf("%s",a); scanf("%d",&b); int len = strlen(a); s =... 阅读全文
posted @ 2017-03-30 14:16 shiningrise 阅读(201) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std; char a[1005]; int main(){ scanf("%s",a); int len = strlen(a); long long sum = 0; for(int i = 0 ... 阅读全文
posted @ 2017-03-30 14:04 shiningrise 阅读(343) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std; bool mark[10000005]; int a,b,L,R,K; int A[1005]; bool check(int res){ int k=0; for(int i=a;iR)break; if(res>=L&&check(res))ma... 阅读全文
posted @ 2017-03-30 13:17 shiningrise 阅读(310) 评论(0) 推荐(0) 编辑
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css