1189: 内码对称 摘要:```cpp #include using namespace std; typedef long long LL; int main() { LL num; int a…… 题解列表 2022年12月10日 0 点赞 0 评论 463 浏览 评分:9.9
1190: 剔除相关数 摘要:```cpp #include #include #include #include using namespace std; mapma; setse; struct str { …… 题解列表 2022年12月10日 0 点赞 0 评论 388 浏览 评分:9.9
Hash映射求亲密数 摘要:# 哈希映射 ~~~ c++ int main() { int i ; int j ; int count = 0; int cmp ; int Hash[3001]{ 0 …… 题解列表 2022年12月10日 0 点赞 0 评论 382 浏览 评分:9.9
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,sum=0,b,t,i,m; int a[N]; scanf("%d",&N); for( i=0;…… 题解列表 2022年12月10日 0 点赞 0 评论 301 浏览 评分:9.9
[编程入门]有规律的数列求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float ans=0; int n; cin>>n…… 题解列表 2022年12月10日 0 点赞 0 评论 344 浏览 评分:9.9
[编程入门]自由下落的距离计算 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float m,n; cin>>m>>n; floa…… 题解列表 2022年12月10日 0 点赞 0 评论 273 浏览 评分:9.9
[编程入门]猴子吃桃的问题 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int a=1; …… 题解列表 2022年12月10日 0 点赞 0 评论 345 浏览 评分:9.9
本人小白,我想我思路符合大部分人 进来看看喽 摘要:解题思路:先将例题的列出来找规律,就一个数列,主要就是通过循环求第二站的上下车人数注意事项:数组大小和sum为第一站和后面站上的人数和参考代码:#include<bits/stdc++.h>using…… 题解列表 2022年12月10日 0 点赞 0 评论 355 浏览 评分:9.9
废物的结构体 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<string.h>struct jxj{ char name[20]; int grade; int ban; …… 题解列表 2022年12月10日 0 点赞 0 评论 477 浏览 评分:9.9
耗时18ms,好像有点高了,复杂度更达到了O(n^2).能不能更简单一点 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int num1(int n,int m){ if(n>m) swap(n,m…… 题解列表 2022年12月10日 0 点赞 1 评论 253 浏览 评分:9.9