编写题解 1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int x,y,z; for(int a=100; a<1000; …… 题解列表 2023年01月06日 0 点赞 0 评论 255 浏览 评分:0.0
九九乘法表(详细) 摘要:解题思路:双重循环注意事项:题目要求乘积占2位且左对齐,因此,乘积的格式为%-2d参考代码:#include<stdio.h>int main(){ int i,j; for(i=1;i<…… 题解列表 2023年01月06日 0 点赞 0 评论 335 浏览 评分:0.0
蓝桥杯算法提高VIP-删除数组中的0元素 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],i,t=0; scanf("%d",&n); for(…… 题解列表 2023年01月06日 0 点赞 0 评论 440 浏览 评分:0.0
定义两个函数,分别对应奇数和偶数的情况 摘要:解题思路:定义函数--》while循环定义--》if else语句判断。注意事项:用while循环可以完美定义结束条件。参考代码:#include<stdio.h>int O(int n){ i…… 题解列表 2023年01月06日 0 点赞 0 评论 405 浏览 评分:9.9
数据结构-字符串连接(C语言) 摘要:#include<stdio.h> #include<string.h> int main() { char str1[100],arr1[100]; char str2[100], a…… 题解列表 2023年01月06日 0 点赞 0 评论 328 浏览 评分:0.0
自由落体问题 摘要:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int i,n; float s=100,m=100; …… 题解列表 2023年01月06日 0 点赞 0 评论 244 浏览 评分:0.0
舍罕王的失算 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main(){ unsigned long long …… 题解列表 2023年01月06日 0 点赞 0 评论 279 浏览 评分:0.0
二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,sum=0,a[100]; scanf("%d",&n); for(i=0;i<n;i++)sc…… 题解列表 2023年01月06日 0 点赞 0 评论 314 浏览 评分:9.9
蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c,x1,x2; scanf("%lf…… 题解列表 2023年01月06日 0 点赞 0 评论 310 浏览 评分:0.0
1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,i; double sum=0; scanf("%d%d%d…… 题解列表 2023年01月06日 0 点赞 0 评论 296 浏览 评分:9.9