题解 3016: 第几项 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,s=0; cin>>m; f…… 题解列表 2023年07月11日 0 点赞 0 评论 395 浏览 评分:9.9
求小数的某一位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,n,c; cin>>a>>b>>n…… 题解列表 2023年07月11日 0 点赞 0 评论 487 浏览 评分:9.9
早晨一起《鸡你太美》 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int t; cin>>t; if(25<=t && t…… 题解列表 2023年07月11日 0 点赞 0 评论 604 浏览 评分:0.0
求小数的某一位 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,n,c; cin>>a>>b>>n; for…… 题解列表 2023年07月11日 0 点赞 0 评论 498 浏览 评分:0.0
aaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,n; cin>>a>>b>>n…… 题解列表 2023年07月11日 0 点赞 0 评论 506 浏览 评分:0.0
N以内累加求和 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main() { int N,sum = 0; cin >> N; for …… 题解列表 2023年07月11日 0 点赞 0 评论 449 浏览 评分:0.0
求分数序列和题解 摘要:解题思路:#include<bits/stdc++.h>#include<iomanip>using namespace std;int main(){ int n; double a=1.0…… 题解列表 2023年07月11日 0 点赞 0 评论 505 浏览 评分:0.0
密码(c++),利用string 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> using namespace std; bool an(string s){ i…… 题解列表 2023年07月11日 0 点赞 0 评论 543 浏览 评分:0.0
数组逆序重放 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int a[100];int main(int argc, char** argv) { int n;…… 题解列表 2023年07月11日 0 点赞 0 评论 553 浏览 评分:6.0
简单又实用 以下的代码解析:calculateCoins函数接收一个正整数days作为参数,然后使用一个循环计算从第一天开始的给定天数内骑士获得的金币总数。我们使用三个变量:totalCoins表示总金币数,consecutiveDays表示当前连续天数,coinsPerDay表示每天获得的金币数。 题解列表 2023年07月10日 0 点赞 0 评论 1105 浏览 评分:8.0