2909: 直方图 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年08月24日 0 点赞 0 评论 366 浏览 评分:0.0
2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;ll p…… 题解列表 2024年07月21日 0 点赞 0 评论 605 浏览 评分:9.9
2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;ll tong[10000];int n;ll a…… 题解列表 2024年07月16日 1 点赞 0 评论 470 浏览 评分:0.0
题解 2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;ll tong[10000];int n;ll a…… 题解列表 2024年07月16日 0 点赞 0 评论 455 浏览 评分:0.0
题解 2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[10002],n,a[10002];int main(){ ci…… 题解列表 2024年07月16日 0 点赞 0 评论 429 浏览 评分:0.0
2909: 直方图 C++ 摘要:解题思路:注意事项:const int 常量(不会改变)cnt[a[i]] cnt 数量参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2023年12月12日 0 点赞 0 评论 458 浏览 评分:0.0
题解 2909: 直方图 #includeusingnamespacestd;inta,b=0,c,d[20000],e[200000];intmain(){cin>>a;for(inti=0;i>d[i];e[d[i]]++;if(d[i]>b){b=d[i];}}for(inti=0;i 题解列表 2023年12月11日 0 点赞 1 评论 455 浏览 评分:9.9
2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long tong[10000];int main(){ int …… 题解列表 2023年10月14日 0 点赞 0 评论 485 浏览 评分:0.0
直方图(C++)简单解 摘要:参考代码:#include <iostream>#include <vector>#include <algorithm>using namespace std;int main() { int…… 题解列表 2023年07月19日 0 点赞 2 评论 466 浏览 评分:9.9
@更向天涯 小李子不行啊!!! 摘要:解题思路:注意事项:cin、cout一定要改成scanf和printf不然会超时!!!!参考代码:#include<bits/stdc++.h>using namespace std;int a[10…… 题解列表 2023年02月22日 0 点赞 6 评论 477 浏览 评分:9.9