金币币币币币币币币 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0,a=0; cin>>n…… 题解列表 2023年07月14日 0 点赞 0 评论 415 浏览 评分:0.0
while+for : 2833: 金币 摘要:``` #include using namespace std; int main() { int n; cin >> n; //IDX:用来表示当前发多少硬币 …… 题解列表 2024年10月25日 0 点赞 0 评论 487 浏览 评分:0.0
2833: 金币2833: 金币2833: 金币 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int x=0,d=0,n; cin>>n; fo…… 题解列表 2024年01月31日 0 点赞 0 评论 514 浏览 评分:0.0
闲来无事的题解1111111 摘要:解题思路:注意事项:参考代码:long long a,b; //长整形(100000000000000000000-(-100000000000000000000))int a,b; //普通整…… 题解列表 2023年07月21日 0 点赞 0 评论 569 浏览 评分:0.0
2833: 金币 摘要:``` #include using namespace std; int x,sum=0,j=0,m=1; int main(){ cin>>x; for( int i=1;i…… 题解列表 2023年11月20日 0 点赞 0 评论 442 浏览 评分:0.0
题解 2833: 金币 摘要: #include using namespace std; int main() { int sum=0,d=0,a; cin>>a; …… 题解列表 2023年11月24日 0 点赞 0 评论 452 浏览 评分:0.0
最最最简单简单 2833: 金币,不用while,注释写好了 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main() { int n, total=0; // n 天数…… 题解列表 2023年12月18日 0 点赞 0 评论 453 浏览 评分:0.0
题解 2833: 金币 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int sum=0,d=0,n; cin>>n; …… 题解列表 2024年01月26日 0 点赞 1 评论 374 浏览 评分:0.0
闲来无事的题解 摘要:解题思路:注意事项:参考代码:long long a,b; //长整形(100000000000000000000-(-100000000000000000000))int a,b; //普通整…… 题解列表 2023年07月21日 0 点赞 0 评论 536 浏览 评分:2.0
金币(C++压缩版代码) ####单重循环完全可以搞定看起来许多巨佬在这道题解上好像煞费了苦心,一来就开始敲上一些神奇而又看不懂的公式,这令广大萌新们如何是好呢?所以这次我一定要给大家呈现一个c++入门都能看得懂的代码未经过压缩的AC代码:(放心,没有反抄袭系统,但不建议直接复制)```cpp#includeusingname 题解列表 2024年01月26日 0 点赞 2 评论 512 浏览 评分:7.5