编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main() { int a[10]; for(in…… 题解列表 2023年01月07日 0 点赞 0 评论 119 浏览 评分:0.0
<指针练习>数字逆序输出(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int* p = &a[9];//定义指针p指向最后一个元素; for (int i = …… 题解列表 2023年01月02日 0 点赞 0 评论 220 浏览 评分: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 评论 214 浏览 评分: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 评论 90 浏览 评分:0.0
1026一行解(Python) 摘要:注意事项:注意题目的要求最后能不能存在空格,要是不允许空格存在还需要对最后一位进行处理参考代码:for i in input().split()[::-1]:print(i,end=' …… 题解列表 2022年11月05日 0 点赞 0 评论 503 浏览 评分:9.9
数字逆序输出JAVA 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Arrays;import java.util.Scanner;publi…… 题解列表 2022年11月03日 0 点赞 0 评论 239 浏览 评分:0.0
递归 数字逆序输出 摘要: 参考代码:#include"stdio.h" typedef int Arr[111]; void fun (int *a,int len){ if(len<0) return ; …… 题解列表 2022年10月27日 0 点赞 0 评论 129 浏览 评分: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 评论 122 浏览 评分:6.0
1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c,d,e,f,g,h,i,j; cin >>a>>b…… 题解列表 2022年10月20日 0 点赞 0 评论 142 浏览 评分:7.3
一看就会的数字逆序输出 摘要:解题思路:定义两个数组,一个存放原数列,一个存放逆序后的数列注意事项:参考代码:#include<stdio.h>void main(){ int i,a[10],b[10],k; for…… 题解列表 2022年10月19日 0 点赞 0 评论 138 浏览 评分:0.0