1026: [编程入门]数字逆序输出 摘要:```cpp #include using namespace std; /*题目描述 输入10个数字,然后逆序输出。 输入格式 十个整数 输出格式 逆序输出,空格分开 样例输入 …… 题解列表 2023年02月18日 0 点赞 1 评论 488 浏览 评分:9.9
数字逆序输出(C语言指针) 摘要:解题思路:通过指针解决,通俗易懂注意事项:见代码注释参考代码:#include<stdio.h> //输入10个数字,然后逆序输出。 int main(){ int a[10] = {0};/…… 题解列表 2023年01月25日 1 点赞 1 评论 481 浏览 评分:8.0
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main() { int a[10]; for(in…… 题解列表 2023年01月07日 0 点赞 0 评论 165 浏览 评分:0.0
<指针练习>数字逆序输出(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int* p = &a[9];//定义指针p指向最后一个元素; for (int i = …… 题解列表 2023年01月02日 0 点赞 0 评论 273 浏览 评分:9.9
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j; for(i=0;i<10;i++) { scanf("%d",&a[i]); }…… 题解列表 2022年12月22日 0 点赞 0 评论 267 浏览 评分:9.9
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a[10],temp; for(i=0;i<10;i++) scanf("%d",&a[i]);…… 题解列表 2022年11月23日 0 点赞 0 评论 126 浏览 评分:0.0
1026一行解(Python) 摘要:注意事项:注意题目的要求最后能不能存在空格,要是不允许空格存在还需要对最后一位进行处理参考代码:for i in input().split()[::-1]:print(i,end=' …… 题解列表 2022年11月05日 0 点赞 0 评论 553 浏览 评分:9.9
数字逆序输出JAVA 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Arrays;import java.util.Scanner;publi…… 题解列表 2022年11月03日 0 点赞 0 评论 324 浏览 评分:0.0
递归 数字逆序输出 摘要: 参考代码:#include"stdio.h" typedef int Arr[111]; void fun (int *a,int len){ if(len<0) return ;…… 题解列表 2022年10月27日 0 点赞 0 评论 182 浏览 评分:0.0
定义一个一维数组即可解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,n=10; int shuzu[10]; for(i=0;i<n;i++) …… 题解列表 2022年10月20日 0 点赞 0 评论 165 浏览 评分:6.0