程序员的表白 (C语言代码) 摘要:解题思路:注意事项:注意两个“”u“”之间有个换行;因为审题不认真,我花了半个小时来修改,就是一个换行参考代码:#include<stdio.h>int fun(int n){ int i; for…… 题解列表 2019年05月25日 1 点赞 0 评论 1708 浏览 评分:6.0
筛排处理 (C语言代码) 摘要:#include<stdio.h>int main(){ int x,t,i,j,n,b[100],a[100]; while(scanf("%d",&n)!=EOF&&n!=0) { x=0; …… 题解列表 2019年05月25日 0 点赞 0 评论 2296 浏览 评分:9.9
蓝桥杯算法提高VIP-复数求和 (C语言代码)使用链表求解 摘要:#include<stdio.h> #include<stdlib.h> typedef struct _complex{ int real; int imag; s…… 题解列表 2019年05月25日 0 点赞 0 评论 1879 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; double x; scanf("%d%d%d",&a,&…… 题解列表 2019年05月25日 0 点赞 0 评论 1751 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ double s=1; for(int i=1;i<=n;i++) s=i*s; return …… 题解列表 2019年05月25日 0 点赞 0 评论 1099 浏览 评分:0.0
母牛生小牛 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i, N,ans[52]={1,1,1}; scanf("%d",&N); for(i=3;i<N+2;…… 题解列表 2019年05月25日 0 点赞 0 评论 963 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:可以借用一中间变量temp实现同一数组内就地倒置。注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ char str[100…… 题解列表 2019年05月25日 3 点赞 0 评论 922 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码)代码就丢在这里了 摘要:解题思路: 输入1---->用字符串in1存储---->逆序转换成为数组a----->同理输入2,最后相乘用一个ans存下来,逆序输出即可参考代码:#include<bits/stdc++.h>…… 题解列表 2019年05月24日 0 点赞 0 评论 1381 浏览 评分:0.0
[编程入门]数字逆序输出 (C语言代码) 摘要:解题思路:我不管什么思路。反正就是水经验就对了。源码自己看。不懂留言!注意事项:没什么好注意的。来一个一维数组就是暴力输入+输出就对了参考代码:#include<stdio.h> int mai…… 题解列表 2019年05月24日 1 点赞 0 评论 1774 浏览 评分:6.0
[编程入门]筛选N以内的素数 (C语言代码) 摘要:解题思路:没什么思路就是水经验来着,反正优质题解这辈子都不可能的注意事项:从2开始到这个的根号停止,只要这其中没有能被整数的数就是素数了!参考代码:#include<stdio.h> int mai…… 题解列表 2019年05月24日 1 点赞 0 评论 1478 浏览 评分:7.3