使用自带的转化成二进制的方法来进行计算,hhhhhhhhhhhhhh 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.Arrays; import java.util.List; import…… 题解列表 2024年01月16日 0 点赞 0 评论 155 浏览 评分:0.0
java实现得到任意数的最大值,最简单的写法 66666666666666666 摘要:解题思路:注意事项:参考代码:import java.util.Arrays; import java.util.Scanner; import java.lang.Math; publ…… 题解列表 2024年01月16日 0 点赞 0 评论 132 浏览 评分:0.0
汽水瓶思路 摘要:解题思路:注意事项:参考代码: public static void main(String[] args) { Scanner scanner = new Scanner(System.in); …… 题解列表 2024年01月16日 0 点赞 0 评论 149 浏览 评分:0.0
java--study||O.o 摘要:参考代码:import java.math.BigInteger; import java.util.Scanner; public class Main { public static…… 题解列表 2024年01月16日 0 点赞 0 评论 420 浏览 评分:9.9
编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转 摘要:解题思路:1. 首先定义一个变量 ans 并将其初始化为 0,用于存储反转后的数字。2. 通过循环遍历给定的整数 n,直到 n 变为 0。3. 在循环中,将 ans 左移一位(乘以 10),并加上 n…… 题解列表 2024年01月16日 1 点赞 0 评论 167 浏览 评分:0.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <iostream>//忘用万能头了using namespace std;int main(){ long long a;//数大,int装不下…… 题解列表 2024年01月16日 1 点赞 0 评论 163 浏览 评分:0.0
1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年01月16日 0 点赞 0 评论 134 浏览 评分:9.9
数字反转 2819: 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long n, s=0; cin>>n; while(n) …… 题解列表 2024年01月16日 0 点赞 0 评论 150 浏览 评分: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 评论 169 浏览 评分:0.0
2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,h = 0; cin>>n; whil…… 题解列表 2024年01月16日 0 点赞 1 评论 112 浏览 评分:2.0