题解 2819:数字反转 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年10月13日 0 点赞 0 评论 241 浏览 评分:0.0
很新手的解题,想到什么就写什么,你绝对能看懂 摘要:解题思路:把输入的数的各个位数依次取出来存在数组里,再取出来组成反转的数注意事项:参考代码:#include<stdio.h>#include<math.h>int…… 题解列表 2025年01月23日 0 点赞 0 评论 83 浏览 评分:0.0
2819: 数字反转 摘要:解题思路:注意事项:参考代码:n = int(input())if n >= 0: s = str(n)[::-1] print(int(s))else: n = -n s =…… 题解列表 2024年07月30日 0 点赞 0 评论 94 浏览 评分: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 评论 90 浏览 评分:0.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <iostream>//忘用万能头了using namespace std;int main(){ long long a;//数大,int装不下…… 题解列表 2024年01月16日 0 点赞 0 评论 87 浏览 评分:0.0
2819: 数字反转(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0: print("-",end = "") n = -n n = str(n)[::-1] …… 题解列表 2023年02月21日 0 点赞 0 评论 158 浏览 评分:0.0
编写题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 127 浏览 评分:0.0
2819: 数字反转题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; cin &…… 题解列表 2025年01月11日 0 点赞 0 评论 91 浏览 评分:0.0
2819: 数字反转 摘要:参考代码:n = input() if n[0] == '-': print('-' + str(int(n[1:][::-1]))) else: …… 题解列表 2024年03月17日 0 点赞 0 评论 111 浏览 评分:0.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ /*way1 long long a; …… 题解列表 2024年01月16日 0 点赞 0 评论 91 浏览 评分:0.0