数字逆序输出 摘要:解题思路:先输入,再输出注意事项:参考代码:#include<stdio.h>int main(){ int a[10],j,i; for(i=0;i<=9;i++) { scanf("%d",&a…… 题解列表 2022年03月24日 0 点赞 1 评论 468 浏览 评分:9.9
是个人都能看懂(仅限于《秒杀》本道题)#1026 摘要:解题思路: 由于某些同学实在是看不懂例如:#include<stdio.h> int main() { int a[10],i,k; for(i=0;i<10;i++) …… 题解列表 2022年03月22日 0 点赞 0 评论 627 浏览 评分:9.9
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:怎么说呢,只要你学过数组你一定能解注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ int n1,n2,n[…… 题解列表 2022年03月21日 0 点赞 0 评论 582 浏览 评分:2.0
编写题解 1026: [编程入门]数字逆序输出--string库gets函数 摘要:解题思路:注意事项:原来的字符串最后一个是空格记得从倒数第二位开始输出的。参考代码:#include<stdio.h>#include<iostream>using namespace std;int…… 题解列表 2022年03月02日 0 点赞 0 评论 602 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出--解题 摘要:解题思路:数组逆序输出注意事项:参考代码:#include<stdio.h>#include<iostream>using namespace std;int main (){ int str[…… 题解列表 2022年03月02日 0 点赞 0 评论 546 浏览 评分:0.0
最简单的数字逆序输出 摘要:解题思路:正循环输入,反循环输出注意事项:参考代码:#include<stdio.h> int main() { int arr[10]; int i; for(i=0;i<10;i+…… 题解列表 2022年02月25日 0 点赞 0 评论 620 浏览 评分:9.9
编写题解 1026: [编程入门]数字逆序输出 自留笔记 摘要:解题思路:顺序输入,逆序输出参考代码:#include <stdio.h> int main() { int a[10]; for(int i=0;i<10;i++) …… 题解列表 2022年02月22日 0 点赞 0 评论 447 浏览 评分:0.0
1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:li = list(map(int, input().split()))for i in li[::-1]: print(i,end=' ')…… 题解列表 2022年02月20日 0 点赞 0 评论 532 浏览 评分:0.0
1026: [编程入门]数字逆序输出 摘要:解题思路:逆序 easy注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i; for(i=0;i<10;i++) …… 题解列表 2022年02月13日 0 点赞 0 评论 488 浏览 评分:0.0
画蛇添足-采用函数输出 解题思路:注意事项:手生了,上来犯了大错。。。注意!gets()是有缓冲区的,每次按下回车键,就代表当前输入结束了,gets()开始从缓冲区中读取内容,这一点和scanf()是一样的。gets()和scanf()的主要区别是:scanf()读取字符串时以空格为分隔(%s\%c都是这样), 题解列表 2022年02月05日 0 点赞 0 评论 740 浏览 评分:8.0