求小数的某一位 3013: 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long a,b,n,c; cin>>a>>b>>n; fo…… 题解列表 2024年01月16日 0 点赞 0 评论 398 浏览 评分:0.0
题解 2818: 分离整数的各个数位(十分硬核) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ long long n; cin>>n; whil…… 题解列表 2024年01月16日 0 点赞 0 评论 307 浏览 评分:0.0
分离整数的各个数位 2818 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long n; cin>>n; while(n) { …… 题解列表 2024年01月16日 0 点赞 0 评论 312 浏览 评分: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 评论 337 浏览 评分:0.0
数字反转 2819: 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long n, s=0; cin>>n; while(n) …… 题解列表 2024年01月16日 0 点赞 0 评论 327 浏览 评分:0.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <iostream>//忘用万能头了using namespace std;int main(){ long long a;//数大,int装不下…… 题解列表 2024年01月16日 1 点赞 0 评论 325 浏览 评分:0.0
编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转 摘要:解题思路:1. 首先定义一个变量 ans 并将其初始化为 0,用于存储反转后的数字。2. 通过循环遍历给定的整数 n,直到 n 变为 0。3. 在循环中,将 ans 左移一位(乘以 10),并加上 n…… 题解列表 2024年01月16日 1 点赞 0 评论 334 浏览 评分:0.0
汽水瓶思路 摘要:解题思路:注意事项:参考代码: public static void main(String[] args) { Scanner scanner = new Scanner(System.in); …… 题解列表 2024年01月16日 0 点赞 0 评论 331 浏览 评分:0.0
java实现得到任意数的最大值,最简单的写法 66666666666666666 摘要:解题思路:注意事项:参考代码:import java.util.Arrays; import java.util.Scanner; import java.lang.Math; publ…… 题解列表 2024年01月16日 0 点赞 0 评论 283 浏览 评分:0.0
使用自带的转化成二进制的方法来进行计算,hhhhhhhhhhhhhh 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.Arrays; import java.util.List; import…… 题解列表 2024年01月16日 0 点赞 0 评论 353 浏览 评分:0.0