5ms绝杀,有注释,一看就懂 摘要:解题思路:定义两个数组,一个存当前糖果数,另一个存糖果的一半注意事项:参考代码:#include<stdio.h>int main(){ int people_num,i=0,sum=0; …… 题解列表 2023年07月10日 0 点赞 0 评论 313 浏览 评分:9.9
题解 3012: 分苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,s=0; cin>>n; fo…… 题解列表 2023年07月10日 0 点赞 0 评论 348 浏览 评分:9.9
余数相同问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年07月10日 0 点赞 0 评论 260 浏览 评分:9.9
计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double s=0; ci…… 题解列表 2023年07月10日 0 点赞 0 评论 348 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; double p=1,q=2,s…… 题解列表 2023年07月10日 0 点赞 0 评论 380 浏览 评分:0.0
求分数序列和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double s=0,p=1,q=…… 题解列表 2023年07月10日 0 点赞 0 评论 340 浏览 评分:9.9
题解 1001: [编程入门]第一个HelloWorld程序(仅需一行) 摘要:解题思路:在Python中print打印结束后会自动换行(\n),因此只需写三次print即可。其次在Python中可以使用“字符串” * 次数,来表达重复的“字符串”。还有(\n)也是换行的意思。注…… 题解列表 2023年07月10日 1 点赞 0 评论 382 浏览 评分:0.0
统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a,ans=0; cin >>n; …… 题解列表 2023年07月10日 0 点赞 0 评论 280 浏览 评分:9.9
2813: 药房管理 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n,q,ans=0; cin>>m>>n; fo…… 题解列表 2023年07月10日 0 点赞 0 评论 358 浏览 评分:9.9
2814: 正常血压 摘要:注意事项:C++语言,别弄错了参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,b,z=0,maxx=0;…… 题解列表 2023年07月10日 0 点赞 0 评论 505 浏览 评分:6.0