本人小白,我想我思路符合大部分人 进来看看喽 摘要:解题思路:先将例题的列出来找规律,就一个数列,主要就是通过循环求第二站的上下车人数注意事项:数组大小和sum为第一站和后面站上的人数和参考代码:#include<bits/stdc++.h>using…… 题解列表 2022年12月10日 0 点赞 0 评论 221 浏览 评分:9.9
[编程入门]猴子吃桃的问题 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int a=1; …… 题解列表 2022年12月10日 0 点赞 0 评论 223 浏览 评分:9.9
[编程入门]自由下落的距离计算 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float m,n; cin>>m>>n; floa…… 题解列表 2022年12月10日 0 点赞 0 评论 192 浏览 评分:9.9
[编程入门]有规律的数列求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float ans=0; int n; cin>>n…… 题解列表 2022年12月10日 0 点赞 0 评论 260 浏览 评分:9.9
Hash映射求亲密数 摘要:# 哈希映射 ~~~ c++ int main() { int i ; int j ; int count = 0; int cmp ; int Hash[3001]{ 0 …… 题解列表 2022年12月10日 0 点赞 0 评论 295 浏览 评分:9.9
1190: 剔除相关数 摘要:```cpp #include #include #include #include using namespace std; mapma; setse; struct str {…… 题解列表 2022年12月10日 0 点赞 0 评论 278 浏览 评分:9.9
1189: 内码对称 摘要:```cpp #include using namespace std; typedef long long LL; int main() { LL num; int a…… 题解列表 2022年12月10日 0 点赞 0 评论 340 浏览 评分:9.9
1188: 做幻方 摘要:```cpp #include #include #include #define MOVE magic[y-1][x+1] using namespace std; int main()…… 题解列表 2022年12月10日 0 点赞 0 评论 504 浏览 评分:9.9
[编程入门]Sn的公式求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int Sn=0; …… 题解列表 2022年12月09日 0 点赞 0 评论 295 浏览 评分:9.3
简单的a+b(C++代码) 摘要:解题思路:利用while循环判断输入的数据注意事项:主要换行操作参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2022年12月09日 0 点赞 0 评论 375 浏览 评分:9.9