1101: 循环 高精度 摘要:解题思路:规律:当后K为数字存在循环结的必要条件是,后K-1位数字存在循环结,并且K的最小循环结必定是K-1的最小循环结的整数倍。并且对于当前位数的处理不必要取模,既然已经用了数组高精度保存便可以只考…… 题解列表 2024年07月04日 1 点赞 0 评论 523 浏览 评分:0.0
题解 2764: 带余除法 摘要:##########################################a,b=map(int,input().split(" "))print(int(a/b),end=' &#…… 题解列表 2024年07月04日 1 点赞 0 评论 417 浏览 评分:0.0
减肥减肥减肥减肥 摘要:解题思路:无注意事项:无参考代码:n=input()n=int(n)u=list(map(int,input().split()))j=0for i in u: j=i+je=j/ne=int(…… 题解列表 2024年07月05日 0 点赞 0 评论 218 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:n=int(input())a=[0]*nb=[0]*nt=[0]*nfor i in range(n): a[i],b[i]=map(int,input().sp…… 题解列表 2024年07月06日 0 点赞 0 评论 194 浏览 评分:0.0
2815: 求特殊自然数 摘要:解题思路:注意事项:参考代码:for a in range(1,7): for b in range(0,7): for c in range(1,7): i…… 题解列表 2024年07月06日 0 点赞 0 评论 168 浏览 评分:0.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:n=int(input())a=[0]*na=list(map(str,input().split()))t=0def judgetrue(x): if int(i…… 题解列表 2024年07月06日 0 点赞 0 评论 143 浏览 评分:0.0
1132最大数问题(while循环解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin >> a; int b; if (a == -1…… 题解列表 2024年07月07日 0 点赞 0 评论 206 浏览 评分:0.0
1133阶乘的和(简单的动态规划) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; long long arr[25] …… 题解列表 2024年07月07日 0 点赞 0 评论 131 浏览 评分:0.0
1134求PI*(while循环) 摘要:解题思路:注意事项:答案是3.141591参考代码:#include<iostream>using namespace std;int main(){ double a = 1.0;//这是分子 do…… 题解列表 2024年07月07日 0 点赞 0 评论 220 浏览 评分:0.0
1135求s=a+aa+aaa+aaaa+aa...a的值(while循环) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int a, n; cin >> a >…… 题解列表 2024年07月07日 0 点赞 0 评论 183 浏览 评分:0.0