delete pics to save space

This commit is contained in:
2023-08-03 09:22:52 +08:00
commit de60cd6ed4
1334 changed files with 66221 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#include<cstdio>
using namespace std;
int main()
{
int t[110]={0};
int n;
scanf("%d",&n);
double f=n/2.0;
int x;
for(int i=0;i<n;i++)
{
scanf("%d",&x);
t[x+50]++;
}
for(int i=0;i<110;i++)
{
if(t[i]>f)
{
printf("%d\n",i-50);
return 0;
}
}
printf("no\n");
return 0;
}