适合新手理解的c++ 摘要:#include<iostream>using namespace std;int main(){ int i,j,arr[10]; int start=0; int end=sizeof(arr)…… 题解列表 2021年10月31日 0 点赞 0 评论 499 浏览 评分:0.0
reverse函数解 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>#include<algorithm>using namespace std;int main(){ …… 题解列表 2022年08月31日 0 点赞 0 评论 226 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){ for(int i=1;i…… 题解列表 2022年05月20日 0 点赞 0 评论 220 浏览 评分:0.0
数字逆序输出 题解(简单)(c++) 摘要:解题思路:就是倒过来输出而已。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a[55];int main(){ for(int …… 题解列表 2022年05月08日 0 点赞 0 评论 196 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){ for(int i=0…… 题解列表 2022年05月06日 0 点赞 0 评论 243 浏览 评分:0.0
用函数的方法解决这个问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void input(int data[]){ int i; for(i=0;i<10;i++){ scanf("%d…… 题解列表 2022年04月28日 0 点赞 0 评论 175 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出--string库gets函数 摘要:解题思路:注意事项:原来的字符串最后一个是空格记得从倒数第二位开始输出的。参考代码:#include<stdio.h>#include<iostream>using namespace std;int…… 题解列表 2022年03月02日 0 点赞 0 评论 277 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出--解题 摘要:解题思路:数组逆序输出注意事项:参考代码:#include<stdio.h>#include<iostream>using namespace std;int main (){ int str[…… 题解列表 2022年03月02日 0 点赞 0 评论 247 浏览 评分:0.0
reverse()函数逆序 摘要:解题思路:运用<algorithm>里面的头文件reverse来逆序注意:reverse( 首地址,尾地址 + 1 )先举个小例子吧!下面是本题代码!!给个评论吧!…… 题解列表 2022年01月27日 0 点赞 0 评论 475 浏览 评分:0.0
1026-数字逆序输出 (reverse函数) 语言:C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a[10]; for(i…… 题解列表 2022年10月05日 0 点赞 0 评论 201 浏览 评分:0.0