- 博客(4)
- 收藏
- 关注
原创 连续数C
#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){int a,b,p,c,len,m,k,flag,temp;char str[10];scanf("%d",&p);c=1;m=1;flag=0;while(c!=0){ m++; ...
2018-05-10 20:53:04 210
原创 泊松分酒 C
#include<stdio.h>int i,n; int probo(int a,int bv,int cv){ int n=0,b=0,c=0; while(!(a==i||b==i||c==i)){ if(!b) if(a<bv) { n=-1;break; } else{ a-=bv,b=bv; } ...
2018-05-10 17:40:43 3006
原创 AOJ 778
#include <stdio.h>#include <stdlib.h>int main(){int a,b,p,c,count,t,flag;while(1){ scanf("%d",&p); c=0; count=0; flag=1; while(c!=0||flag!=0) { ...
2018-05-10 17:09:09 159
原创 9位不同的完全平方数求根问题
#include <stdio.h> #include <stdlib.h> //#define N 3 //int main( ) int main( ) { int a[10], j; int count=0, k, temp, y, s, i=0; for(i=10000; i<=31622; i++) ...
2018-05-03 16:38:39 325
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人