- 博客(2)
- 收藏
- 关注
原创 zoj4024
题意 给出一个数组若数组先递增后递减输出Yes不然就输出No 看数组从前端和后端递增结束的地方是否相同即可 #include<bits/stdc++.h> #define IOS ios::sync_with_stdio(false),cin.tie(0) using namespace std; const int maxn=1e5+7; int a[maxn]; int main(...
2020-04-27 00:10:17 104
原创 Gym - 102501B
水题 题意 给你n个字符串,要你求其中有没有一个字符串重复的个数严格大于n/2 思路:只要用map将字符串映射出来就好了 #include<bits/stdc++.h> #define IOS ios::sync_with_stdio(false),cin.tie(0) using namespace std; typedef long long LL; map<string,...
2020-04-26 23:41:35 247
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人