题解 2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[10002],n,a[10002];int main(){ ci…… 题解列表 2024年07月16日 0 点赞 0 评论 416 浏览 评分:0.0
题解 2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1001;ll to…… 题解列表 2024年07月16日 0 点赞 0 评论 463 浏览 评分:0.0
2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;ll to…… 题解列表 2024年07月16日 0 点赞 0 评论 507 浏览 评分:0.0
题解 2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[1000];int main(){ string s; cin>…… 题解列表 2024年07月16日 0 点赞 0 评论 517 浏览 评分:0.0
2973: 出现次数超过一半的数 解题思路:注意事项:参考代码:#includeusingnamespacestd;typedeflonglongll;constllN=1e5;inttong[N];intmain(){intn;cin>>n;for(inti=1;i<=n;i++){inta;cin>>a;tong[a+50]++; 题解列表 2024年07月15日 0 点赞 0 评论 469 浏览 评分:9.9
2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;ll a[…… 题解列表 2024年07月15日 0 点赞 0 评论 740 浏览 评分:0.0
题解 2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[600];int main(){ int n=0; in…… 题解列表 2024年07月15日 0 点赞 0 评论 560 浏览 评分:0.0
题解 2917: 奇数单增序列 ```cpp#includeusingnamespacestd;typedeflonglongll;lla[503],cnt;intmain(){lln;cin>>n;for(inti=1;i>x;if(x%2!=0)a[++cnt]=x;}sort(a+1, 题解列表 2024年07月15日 0 点赞 0 评论 606 浏览 评分:0.0
题解 2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[504],b[504];int main(){ int n,sum=0…… 题解列表 2024年07月15日 0 点赞 0 评论 707 浏览 评分:0.0
1128: C语言训练-排序问题(1) 摘要:解题思路:注意事项:参考代码: #include <bits/stdc++.h> using namespace std; typedef long long ll; cons…… 题解列表 2024年07月14日 0 点赞 0 评论 622 浏览 评分:0.0