- 博客(8)
- 资源 (3)
- 收藏
- 关注
原创 c语言写了一个大数加。
# include <stdio.h># include <math.h># include <string.h>int main(){ char te[10000]={0}; char mp[10000]={0}; int i,tlen,mlen,t,m,len; int sign=0; int sum[10000]={0},s; wh...
2018-03-24 20:41:03 345
原创 解压缩
# include <stdio.h># include <math.h># include <string.h>int main(){ char array[100]={0}; int i=0,c=0,len,s=0,sign=1,otc=0,k,test; gets(array); len=strlen(array); while(i&...
2018-03-22 20:07:52 276
原创 完数
# include <stdio.h># include <math.h># include <string.h>int main(){ int n,m,i,j,s; // int array[100]={0}; scanf("%d%d",&n,&m); for(i=n;i<=m;i++){ j=2; s=1; ...
2018-03-21 18:17:34 264
原创 (三)
# include <stdio.h># include <string.h># include <math.h>int main(){ int N,D; int res[121]={0},mod[121]={0}; int num,loc,i; while((scanf("%d%d",&N,&D))!=EOF){...
2018-03-20 17:06:01 218
原创 工大(二)
# include <stdio.h># include <string.h># include <math.h>int main(){ char num[8]={0}; char c; int i=0,len,j; double sum=0; int array[8]={0}; int b[32]={0}; while((scanf(...
2018-03-15 21:32:48 269
原创 工大(一)
//这两天脑子有点混沌。# include <string.h># include <stdio.h>int main(){ char c[100]={0}; char test; int array[100]={0}; int sign[100]={0}; int i=0,j,k,m,snum=0,unum=0;// printf("%d",sizeof...
2018-03-14 19:14:03 237
原创 我想要一种超能力。徒写千行无BUG=。不需要吃药 ==。
==//学识有限,此答案纯属娱乐==。=请各位读者慎重把玩、、博主邮箱qfnuxx@126.com# include <stdio.h>int main(){ int bottle,Ntime,q,p,i=0,j=0,k=0,sum=0,min,max,red,test; int Schange=0;//统计消除阻碍花费的能量 int flag; int zu[50]...
2018-03-08 22:48:25 372
原创 嗯。超琪数。哈
直接上码上图吧=。码里有很多printf测试,很容易看出玄机。另外有注释。都保留着,没删。代码风格少儿不宜=。懒得整理了,请多多关照=。# include <stdio.h># include <string.h># include <math.h>int main(){ int s,len,ev,i=1,k=0; int s1,s2,s3,s4...
2018-03-07 22:29:06 262
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人