[编程入门]数字逆序输出 摘要:参考代码:#include<stdio.h>//输入10个数字voidmy_scanf(intarr[10]){…… 题解列表 2025年02月12日 1 点赞 0 评论 87 浏览 评分:10.0
三行解决逆序问题 摘要:解题思路:利用list的切片运算和for循环遍历输出注意事项:使用end=' ',可以实现不换行的遍历输出参考代码:a=list(map(int,input().split()))fo…… 题解列表 2024年12月19日 1 点赞 0 评论 405 浏览 评分:10.0
直接输入然后输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int i; for(i=0;i<10;i++){ sca…… 题解列表 2024年12月18日 0 点赞 0 评论 475 浏览 评分:0.0
普普通通的解题方法(for循环) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10],t; for (i = 0;i < 10;i++) { scanf("%d",&a[…… 题解列表 2024年11月22日 0 点赞 0 评论 353 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; for(i=0;i<10;i++) { scanf("…… 题解列表 2024年11月19日 0 点赞 0 评论 180 浏览 评分:0.0
旧物有情 # 不用库函数数字逆序输出 摘要:``` #include using namespace std; int main(){ int a[10]; for(int i=9; i>=0; i…… 题解列表 2024年10月10日 0 点赞 0 评论 142 浏览 评分:0.0
最简单的傻瓜题解,瓜保熟,看一眼不会我倒立洗头 摘要:解题思路:最呆瓜简单直接的一种方法,就是一个一个去定义每一个字符串,然后赋值上去,再按照原顺序的倒序排列给输出出来。看着最终答案效果写过程也是没谁了哈哈哈O.o此想法由糯智本人脑抽提出,由强力室友完善…… 题解列表 2024年09月20日 0 点赞 3 评论 265 浏览 评分:9.9
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:1、定义数组类型及长度;2、利用for循环进行输入输出。注意事项:1、注意数组下标从0开始;输入输出时不要犯错。参考代码:#include<stdio.h>int main(){ i…… 题解列表 2024年09月14日 0 点赞 0 评论 103 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int[] arr = new int[10]; for (int i = 0; i < a…… 题解列表 2024年08月28日 0 点赞 0 评论 268 浏览 评分:9.9
菜鸟编程,高手勿看 摘要:解题思路:利用while 循环来进行元素逆置注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[10]; for (…… 题解列表 2024年08月23日 0 点赞 0 评论 117 浏览 评分:9.9