求小数的某一位 3013: 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long a,b,n,c; cin>>a>>b>>n; fo…… 题解列表 2024年01月16日 0 点赞 0 评论 123 浏览 评分:0.0
呢个大神看看为啥我这个有一个案例过不去 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double n,m; long long l; doubl…… 题解列表 2023年03月01日 0 点赞 0 评论 212 浏览 评分:0.0
编写题解 3013: 求小数的某一位 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b,n,m;cin>>a>>b>>n;m=a*1.…… 题解列表 2024年06月05日 0 点赞 0 评论 394 浏览 评分:0.0
循环乘以10再求模,直到移动到整除结束 摘要:解题思路:1.转换为分数核心逻辑是循环乘以10再求模,直到移动到整除结束2.遍历循环2步:逐位计算:x=a*10/b;更新余数:a=a*10%b;注意事项:更新的次数由n决定。参考代码:#includ…… 题解列表 2024年12月05日 0 点赞 0 评论 196 浏览 评分:0.0
3013: 求小数的某一位 摘要:解题思路:注意事项:参考代码:a,b,n=map(int,input().split())c=float(a/b)for i in range(1,n+1): c=a*10/…… 题解列表 2025年02月14日 0 点赞 0 评论 150 浏览 评分:0.0