编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int a,m; long long sum=0; cin>>a; …… 题解列表 2023年01月06日 0 点赞 0 评论 244 浏览 评分:0.0
2150拦截导弹问题 简单贪心算法(注释很详细) 摘要://贪心规则:炮弹打过来,让当前高度最低的系统去应对 //如果应对不了,就加一个系统,最后统计系统数 #include<bits/stdc++.h> int s[1005];//系统sy…… 题解列表 2023年01月06日 0 点赞 0 评论 461 浏览 评分:9.9
2154: 信息学奥赛一本通T1326-取余运算 摘要:解题思路:原理:a*b%k=(a%k)*(b%k)%k 要就复制吧,爱就点赞吧!注意事项:参考代码:#include<bits/stdc++.h> using namespace std; in…… 题解列表 2023年01月06日 2 点赞 0 评论 584 浏览 评分:9.9
立方和不等式 摘要:解题思路:用for循环遍历注意事项:当s==n时,输出的是最大的i;当s>n时,输出i-1;参考代码:#include<iostream>using namespace std;int main(){…… 题解列表 2023年01月05日 0 点赞 0 评论 525 浏览 评分:0.0
2913: 整数去重 摘要:```cpp #include using namespace std; int main() { int n,a[20001],j=1; cin>>n; for(int i=1;…… 题解列表 2023年01月05日 0 点赞 3 评论 433 浏览 评分:7.3
2909: 直方图 摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[10001];…… 题解列表 2023年01月05日 0 点赞 0 评论 425 浏览 评分:9.9
2902: 输出最高分数的学生姓名 摘要:```cpp #include using namespace std; struct student { int chengji; char name[20]; }; …… 题解列表 2023年01月05日 0 点赞 0 评论 524 浏览 评分:9.9
2903: 不高兴的津津 摘要:```cpp #include #include using namespace std; int main() { int day,arr1[8],arr2[8]; m…… 题解列表 2023年01月05日 0 点赞 0 评论 483 浏览 评分:9.9
2904: 谁拿了最多奖学金 摘要:```cpp #include #include #include using namespace std; struct Stu { string name; int…… 题解列表 2023年01月05日 0 点赞 0 评论 349 浏览 评分:9.9
1209: 密码截获 摘要:```cpp #include using namespace std; bool pan_huiwei(string s) { int len=s.size(); for…… 题解列表 2023年01月05日 0 点赞 0 评论 372 浏览 评分:9.9