数组的正输入逆输出(数组的遍历) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i; for(i=0;i<10;i++) { scanf("…… 题解列表 2022年09月18日 0 点赞 0 评论 170 浏览 评分:2.0
1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cmath> using namespace std; int main() { for (…… 题解列表 2022年10月08日 0 点赞 0 评论 183 浏览 评分:2.0
多维数组要知道下标索引是什么样的 摘要:解题思路:一般用一重循环也就可以啦注意事项:00 01 02 10 11 1220 21 22参考代码:import mathn=int(input())li=[]for i in range(n):…… 题解列表 2022年10月10日 0 点赞 0 评论 324 浏览 评分:2.0
编写题解 2902: 输出最高分数的学生姓名 摘要:解题思路:输入*判断*输出注意事项:name二维参考代码:#include<stdio.h>#include<string.h>int main(){ int s,i,n,a[101]; …… 题解列表 2022年10月21日 0 点赞 0 评论 504 浏览 评分:2.0
二级C语言-平均值计算,罗。。。。。我写出来了 摘要:解题思路: 输入10个整数,求它们的平均值,并输出大于平均值的数据的个数看到输入10个整数,你要想到用什么来存这十个数。注意事项:参考代码:#include <stdio.h>int main(){…… 题解列表 2022年10月24日 0 点赞 1 评论 174 浏览 评分:2.0
2847: 找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int flag = 0, tong[128] =…… 题解列表 2022年10月26日 0 点赞 0 评论 322 浏览 评分:2.0
2854——密码翻译 摘要:分别判断两种情况 做出对应修改参考代码:#include"stdio.h" #include"string.h" typedef char string[111]; string str; …… 题解列表 2022年10月28日 0 点赞 0 评论 480 浏览 评分:2.0
2957连续分数求和代码 摘要:解题思路:注意事项:找分母的最小公倍数,求分子分母最大公约数。参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include…… 题解列表 2022年10月29日 0 点赞 0 评论 395 浏览 评分:2.0
你有见过这么帅又这么干练的未来it人才吗 摘要:解题思路:利用二维数组输入矩阵,再求和注意事项:我很帅参考代码:#include<stdio.h>int main(){int a[3][3];int i,j;for(i=0;i<3;i++)for(…… 题解列表 2022年11月03日 0 点赞 0 评论 192 浏览 评分:2.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>int main(){ …… 题解列表 2022年11月07日 0 点赞 0 评论 443 浏览 评分:2.0