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