1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:li = list(map(int, input().split()))for i in li[::-1]: print(i,end=' ')…… 题解列表 2022年02月20日 0 点赞 0 评论 174 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出 自留笔记 摘要:解题思路:顺序输入,逆序输出参考代码:#include <stdio.h> int main() { int a[10]; for(int i=0;i<10;i++) …… 题解列表 2022年02月22日 0 点赞 0 评论 124 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出--解题 摘要:解题思路:数组逆序输出注意事项:参考代码:#include<stdio.h>#include<iostream>using namespace std;int main (){ int str[…… 题解列表 2022年03月02日 0 点赞 0 评论 186 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出--string库gets函数 摘要:解题思路:注意事项:原来的字符串最后一个是空格记得从倒数第二位开始输出的。参考代码:#include<stdio.h>#include<iostream>using namespace std;int…… 题解列表 2022年03月02日 0 点赞 0 评论 196 浏览 评分:0.0
1026: [编程入门]数字逆序输出——Python 摘要:解题思路:利用python中的切片注意事项:参考代码:l = list(map(int,input().split()))for i in l[::-1]: print(i,end = '…… 题解列表 2022年04月06日 0 点赞 0 评论 424 浏览 评分:0.0
数字逆序输出 摘要:解题思路:对输入的一组数字逆序输出,可用循环的方式,输入的时候从a[0]到a[9],输出从a[9]到a[0]输出注意事项:循环参考代码:#include<stdio.h>int main(){ int…… 题解列表 2022年04月07日 0 点赞 0 评论 201 浏览 评分:0.0
Java 代码解题代码参考 摘要:解题思路:用数组读入,逆序输出即可注意事项:注意加上空格符输出参考代码:import java.util.Scanner;public class Main { public static…… 题解列表 2022年04月16日 0 点赞 0 评论 234 浏览 评分:0.0
用函数的方法解决这个问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void input(int data[]){ int i; for(i=0;i<10;i++){ scanf("%d…… 题解列表 2022年04月28日 0 点赞 0 评论 130 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){ for(int i=0…… 题解列表 2022年05月06日 0 点赞 0 评论 190 浏览 评分:0.0
数字逆序输出 题解(简单)(c++) 摘要:解题思路:就是倒过来输出而已。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a[55];int main(){ for(int …… 题解列表 2022年05月08日 0 点赞 0 评论 133 浏览 评分:0.0