2823: 计算分数加减表达式的值 摘要:解题思路:注意事项: if(i%2==0)不要写错,sum-=1.0/i;和sum+=1.0/i;不要写反,printf("%.4lf",sum);格式不要写错,不要忘记写cin参考代码:#incl…… 题解列表 2024年01月13日 0 点赞 0 评论 110 浏览 评分:0.0
2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:最小值初值最大,最大值初值最小#include<bits/stdc++.h>using namespace std;int main(){ int n,b,c=INT_MAX…… 题解列表 2024年01月13日 0 点赞 0 评论 133 浏览 评分:0.0
2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ int n,sum1=0,sum2=0,sum3=0; …… 题解列表 2024年01月13日 0 点赞 0 评论 166 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int k,sum1=0,sum2=0,sum3=0; …… 题解列表 2024年01月13日 0 点赞 0 评论 162 浏览 评分:0.0
2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n,sum; sum=1; …… 题解列表 2024年01月13日 0 点赞 0 评论 118 浏览 评分:0.0
2806: 人口增长问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x,n; cin>>x>>n; …… 题解列表 2024年01月13日 0 点赞 0 评论 171 浏览 评分:0.0
2823: 计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double sum=0; …… 题解列表 2024年01月13日 0 点赞 0 评论 105 浏览 评分:0.0
1450: 蓝桥杯2014年第五届真题-矩阵翻硬币 摘要:# ```cpp /* * 题目 1450: 蓝桥杯2014年第五届真题-矩阵翻硬币 * 10^1000 -> 大整数(vector、string待定) * flip问题 - 重要…… 题解列表 2024年01月13日 0 点赞 0 评论 276 浏览 评分:0.0
编写题解 2830: 数字统计 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main(){ int l,r,sum=0; cin>>l…… 题解列表 2024年01月13日 0 点赞 0 评论 252 浏览 评分:0.0
1319: 没有上司的晚会 摘要:# 没有上司的晚会 ```cpp /* * 1319: 没有上司的晚会 * 贴脸的树形DP,hhh。已知关系结构是树形,数据范围 -- 考虑dp。 * dp[root][join] …… 题解列表 2024年01月13日 0 点赞 0 评论 231 浏览 评分:0.0