2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; if(a/10>=1…… 题解列表 2024年05月05日 0 点赞 0 评论 157 浏览 评分:0.0
题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ int n…… 题解列表 2024年05月05日 0 点赞 0 评论 225 浏览 评分:0.0
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;const ll N=1e7;ll a[N];in…… 题解列表 2024年05月05日 0 点赞 0 评论 394 浏览 评分:0.0
使用STL unordered_map实现 摘要:解题思路:使用unordered_map统计每种颜色气球出现的次数,输出出现次数最多的气球颜色。注意事项:参考代码:#include<iostream> #include<string> #inc…… 题解列表 2024年05月05日 0 点赞 0 评论 148 浏览 评分:0.0
3068: 股票买卖DP 摘要:解题思路:两次买卖, 求最大区间差注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namesp…… 题解列表 2024年05月05日 0 点赞 0 评论 142 浏览 评分:0.0
题目 1034: 秒杀!!! 摘要:解题思路:直接看成是字符串 ,秒杀注意事项:参考代码:#includeusing namespace std;int main(){ string a; cin >> a; f…… 题解列表 2024年05月05日 0 点赞 0 评论 203 浏览 评分:0.0
3069: 鸣人的影分身 摘要:解题思路:分身数为1, 查克能力0或1只有一种分配方式; f[i][j]表示i查克能力j个分身的分配数注意事项:参考代码:#include<iostream> #include<cstring> …… 题解列表 2024年05月05日 0 点赞 0 评论 195 浏览 评分:0.0
信息学奥赛一本通T1440-数的划分 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; co…… 题解列表 2024年05月05日 0 点赞 0 评论 216 浏览 评分:0.0
多个数字相加 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年05月05日 0 点赞 0 评论 278 浏览 评分:0.0
正常简单思路解答救援问题 摘要:解题思路:单趟时间相加对总时间向上取整注意事项:先相加再向上取整参考代码:#include<iostream>#include<math.h>#include<cmath>using namespac…… 题解列表 2024年05月05日 0 点赞 0 评论 234 浏览 评分:0.0