2823: 计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double sum=0; …… 题解列表 2024年01月13日 0 点赞 0 评论 384 浏览 评分:0.0
1450: 蓝桥杯2014年第五届真题-矩阵翻硬币 摘要:# ```cpp /* * 题目 1450: 蓝桥杯2014年第五届真题-矩阵翻硬币 * 10^1000 -> 大整数(vector、string待定) * flip问题 - 重要…… 题解列表 2024年01月13日 0 点赞 0 评论 656 浏览 评分:0.0
编写题解 2830: 数字统计 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main(){ int l,r,sum=0; cin>>l…… 题解列表 2024年01月13日 0 点赞 0 评论 647 浏览 评分:0.0
1319: 没有上司的晚会 #没有上司的晚会```cpp/**1319:没有上司的晚会*贴脸的树形DP,hhh。已知关系结构是树形,数据范围--考虑dp。*dp[root][join]=表示root在join情况下的最大值。*dp[root][1]=sum(dp[sons][0]);*dp[root][0]=sum(max{dp 题解列表 2024年01月13日 0 点赞 0 评论 575 浏览 评分:0.0
百钱买百鸡问题(易理解) 摘要:#include<iostream> using namespace std; main() { int a,b,c; //100元买100只鸡 for(a=0;a<=100/5;a…… 题解列表 2024年01月13日 0 点赞 0 评论 519 浏览 评分:0.0
2834: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N, m, count; int a[100] = {0}; scanf("%d",…… 题解列表 2024年01月14日 0 点赞 0 评论 480 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路: 注意事项:判断能否摘到苹果一定是大于等于哦参考代码:#include<stdio.h>#define APPLENUMBER 10int main(){ int bench_heig…… 题解列表 2024年01月14日 0 点赞 0 评论 486 浏览 评分:0.0
计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double sum=0; …… 题解列表 2024年01月14日 0 点赞 0 评论 489 浏览 评分:0.0
3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,b,c; cin>>a…… 题解列表 2024年01月14日 0 点赞 0 评论 408 浏览 评分:0.0
题解 3016: 第几项 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n=1,m,s=0; ci…… 题解列表 2024年01月14日 0 点赞 0 评论 359 浏览 评分:0.0