密码(c++),利用string 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> using namespace std; bool an(string s){ i…… 题解列表 2023年07月11日 0 点赞 0 评论 138 浏览 评分: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 评论 237 浏览 评分:6.0
简单又实用 摘要:以下的代码解析: calculateCoins函数接收一个正整数days作为参数,然后使用一个循环计算从第一天开始的给定天数内骑士获得的金币总数。我们使用三个变量:totalCoins表示总金币…… 题解列表 2023年07月10日 0 点赞 0 评论 670 浏览 评分:8.0
题解 3012: 分苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,s=0; cin>>n; fo…… 题解列表 2023年07月10日 0 点赞 0 评论 252 浏览 评分:9.9
余数相同问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年07月10日 0 点赞 0 评论 187 浏览 评分:9.9
计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double s=0; ci…… 题解列表 2023年07月10日 0 点赞 0 评论 259 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; double p=1,q=2,s…… 题解列表 2023年07月10日 0 点赞 0 评论 315 浏览 评分:0.0
求分数序列和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double s=0,p=1,q=…… 题解列表 2023年07月10日 0 点赞 0 评论 220 浏览 评分:9.9
统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a,ans=0; cin >>n; …… 题解列表 2023年07月10日 0 点赞 0 评论 179 浏览 评分: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 评论 237 浏览 评分:9.9