1018: [编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { float a[8] = { 0,0,2,1,1,1,0,0 }; scanf_s("%f", &a[0]);…… 题解列表 2023年07月18日 0 点赞 0 评论 129 浏览 评分:0.0
1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { float a[3] = { 0,0,0},m,n; scanf_s("%f%f", &m,&n); for …… 题解列表 2023年07月18日 0 点赞 0 评论 130 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数(C语言) 摘要: #include #include int sushu(int number) { if(number…… 题解列表 2023年07月18日 0 点赞 0 评论 229 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译,扩展使用字符函数解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float M,N,sum = 0.0; scanf("%f %f",&M,&N); for(…… 题解列表 2023年07月19日 0 点赞 0 评论 162 浏览 评分:0.0
1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a[8] = { 0,0,0,1,0,0,0,0 }; scanf_s("%d%d", &a[0], …… 题解列表 2023年07月19日 0 点赞 0 评论 155 浏览 评分:0.0
自定义函数之二维函数的转置 摘要:解题思路:交换一次,并交换两个值,因此可以引入一个变量t来交换两个值,比如t=a[j][i]; a[j][i]=a[i][j];a[i][j]=t;注意…… 题解列表 2023年07月19日 0 点赞 0 评论 177 浏览 评分:0.0
1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a[10] = { 0,0,0,0,0,0,0,0,0,0 },i=9; scanf("%d%d%d%…… 题解列表 2023年07月19日 0 点赞 0 评论 123 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:一眼看出结构注意事项:参考代码:#include<stdio.h>int main() { int a[9] = { 0,0,0,0,0,0,0,0,0 },i=0,c=0; scanf("…… 题解列表 2023年07月19日 0 点赞 0 评论 138 浏览 评分:0.0
3072: 括弧匹配检验 摘要:# 栈问题 > https://www.programmercarl.com/0020.%E6%9C%89%E6%95%88%E7%9A%84%E6%8B%AC%E5%8F%B7.html#%E8…… 题解列表 2023年07月19日 0 点赞 0 评论 329 浏览 评分:0.0
STL :蓝桥杯算法提高VIP-队列操作 摘要:# STL queue ```c++ #include #include using namespace std; auto main()->int { queue num…… 题解列表 2023年07月19日 0 点赞 0 评论 215 浏览 评分:0.0