题解 2819: 数字反转

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

题解 2819:数字反转

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {    public static void main(String[] args……

2819: 数字反转

摘要:解题思路:注意事项:参考代码:n = int(input())if n >= 0:    s = str(n)[::-1]    print(int(s))else:    n = -n    s =……

2819: 数字反转

摘要:解题思路:注意事项:参考代码:include <bits/stdc++.h>using namespace std;int main(){    long long n=0,a,b,sum=0;//s……

题解 2819: 数字反转

摘要:解题思路:注意事项:参考代码:#include <iostream>//忘用万能头了using namespace std;int main(){    long long a;//数大,int装不下……

2819: 数字反转(python)

摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0:     print("-",end = "")     n = -n n = str(n)[::-1] ……

编写题解 2819: 数字反转

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n,ans=0;    cin>……

2819: 数字反转题解

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; cin &……

2819: 数字反转

摘要:参考代码:n = input() if n[0] == &#39;-&#39;:     print(&#39;-&#39; + str(int(n[1:][::-1]))) else:   ……

题解 2819: 数字反转

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    /*way1    long long a;    ……