1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:此题需要把算式写出来参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; …… 题解列表 2024年01月15日 0 点赞 0 评论 298 浏览 评分:9.9
2817: 级数求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long k; double s=0…… 题解列表 2024年01月15日 0 点赞 1 评论 367 浏览 评分:9.9
题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long m,n,gcd=0; cin>…… 题解列表 2024年01月15日 0 点赞 0 评论 299 浏览 评分:9.9
最大公约数与最小公倍数 1011 摘要:解题思路:#include<iostream>#include<algorithm>using namespace std;int main(){int a,b;cin>>a>>b;cout<<__g…… 题解列表 2024年01月15日 0 点赞 0 评论 337 浏览 评分:9.9
题解 1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; fo…… 题解列表 2024年01月15日 0 点赞 0 评论 330 浏览 评分:9.9
3013: 求小数的某一位 摘要:解题思路:注意事项:这里的cout要在外面写a的值可以改变参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long lo…… 题解列表 2024年01月15日 0 点赞 0 评论 361 浏览 评分:9.9
2819: 数字反转 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int n, s = 0; cin >> n; while (n) …… 题解列表 2024年01月15日 0 点赞 3 评论 231 浏览 评分:9.9
2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a; cin>>a; …… 题解列表 2024年01月15日 0 点赞 0 评论 282 浏览 评分:9.9
海底小纵队在线救援 摘要:解题思路:从头理清慢慢算注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner scanner …… 题解列表 2024年01月15日 0 点赞 0 评论 453 浏览 评分:9.9
使用java实现这个问题(更新 摘要:解题思路:注意要有第二个临时数组实时保存每一天同时进行战斗的,然后重新赋值给初始board,否则按顺序来战斗的话,会影响到初始情况注意事项:(我不知道为啥要在day的循环里先进行board2的赋值,而…… 题解列表 2024年01月15日 0 点赞 0 评论 421 浏览 评分:9.9