金币(Java,含注释) 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Test { public static void main(String[] args){ …… 题解列表 2023年10月10日 0 点赞 0 评论 210 浏览 评分:9.9
题解 2833:只因币 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum=0,a=0 ; int n ; cin>>n…… 题解列表 2023年07月14日 0 点赞 0 评论 249 浏览 评分:9.9
***********金币**************** 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a=0,n,sum=0; cin>>n…… 题解列表 2023年07月14日 0 点赞 0 评论 164 浏览 评分:9.9
国王的金币 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int day,money=0,mmoney=1,i…… 题解列表 2023年07月14日 0 点赞 0 评论 614 浏览 评分:9.9
常规解法 求金币 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,k=0,m=0,sum=0; cin>>n; …… 题解列表 2023年02月21日 0 点赞 0 评论 263 浏览 评分:9.9
教你两秒钟解决 金航 问题(小黑子也会=_=) 摘要:解题思路: 设置一个条件,当符合该条件,金币数加1 =_=||注意事项: 天冷了,多喝热水>_< 参考代码:#include <stdio.h>int main(){ …… 题解列表 2023年01月09日 0 点赞 0 评论 317 浏览 评分:9.9
2833: 金币 摘要:解题思路:分析题目我们可知,第一天,循环一次,获得一个金币;第二第三天,循环两次,每次两个金币;第四五六天,循环三次,每次三个金币……所以,我们需要一个主循环来控制金币个数,而子循环来控制获得金币的次…… 题解列表 2023年01月07日 0 点赞 0 评论 232 浏览 评分:9.9
2833: 金币(先5星再复制) 摘要:解题思路:一天一天for注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int i,n,a,sum,d…… 题解列表 2023年01月04日 0 点赞 0 评论 208 浏览 评分:9.9
金币C语言版 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,i,sum=0,n,c; scanf("%d",&n); for(i=1,c=1;i<=n;c++)…… 题解列表 2022年11月05日 0 点赞 1 评论 552 浏览 评分:9.9