数字反转 2819: 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long n, s=0; cin>>n; while(n) …… 题解列表 2024年01月16日 0 点赞 0 评论 271 浏览 评分:0.0
2819: 数字反转 摘要:解题思路:注意事项:参考代码:include <bits/stdc++.h>using namespace std;int main(){ long long n=0,a,b,sum=0;//s…… 题解列表 2024年01月16日 0 点赞 0 评论 295 浏览 评分:0.0
2819: 数字反转(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0: print("-",end = "") n = -n n = str(n)[::-1] …… 题解列表 2023年02月21日 0 点赞 0 评论 446 浏览 评分:0.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ /*way1 long long a; …… 题解列表 2024年01月16日 0 点赞 0 评论 252 浏览 评分:0.0
数字反转(简单思路) 摘要:解题思路:用long long输入即可,用数组判断前导0注意事项:注意输入会有负数,则输出需要“-”注意下面的for循环a[-1]=0的用法参考代码:#include<bits/stdc++.h>us…… 题解列表 2023年03月23日 0 点赞 0 评论 412 浏览 评分:0.0
感谢支持,谢谢 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,i; cin>>n; …… 题解列表 2023年07月12日 0 点赞 0 评论 338 浏览 评分:0.0
数字反转zhaunzhaun 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,ans=0; cin>>n; …… 题解列表 2023年07月12日 0 点赞 0 评论 333 浏览 评分:0.0