2789: 骑车与走路 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int meter; cin>>met…… 题解列表 2023年11月07日 0 点赞 0 评论 221 浏览 评分:0.0
解 1981: 输出M到N的数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,d; cin>>a>>b; if(a>=b)…… 题解列表 2023年11月06日 0 点赞 0 评论 185 浏览 评分:4.0
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,b1=0,c1=0,d1=0,s; …… 题解列表 2023年11月06日 1 点赞 0 评论 188 浏览 评分:10.0
2763: 计算(a+b)/c的值 摘要:解题思路:先定义几个整数注意事项:参考代码:#include<iostream>using namespace std;int main( ){int a,b,c;//定义整数a,b,ccin>>a>…… 题解列表 2023年11月06日 1 点赞 0 评论 682 浏览 评分:9.9
1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:注意事项:定义时要用浮点方式参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double …… 题解列表 2023年11月06日 0 点赞 0 评论 228 浏览 评分:9.9
C++STL ,结构体 来写,简单明了 摘要:#include<iostream> #include<algorithm> #include<string> using namespace std; struct str{ int a…… 题解列表 2023年11月06日 0 点赞 0 评论 189 浏览 评分:2.6
2809: 菲波那契数列 摘要:``` #include using namespace std; int main(){ int k,a=1,b=1,c=a+b; cin>>k; if (k …… 题解列表 2023年11月05日 0 点赞 0 评论 409 浏览 评分:9.9
2765: 计算分数的浮点数值 摘要:解题思路:注意事项:不要定义成整数参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double a…… 题解列表 2023年11月05日 0 点赞 0 评论 420 浏览 评分:9.9
题解 2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,b,a=0; cin>>n; for(int i…… 题解列表 2023年11月05日 0 点赞 0 评论 561 浏览 评分:9.9