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,22 @@
#include<cstdio>
int main()
{
char stack[25]={'s','\0'},li;
int top=1;
while(li=getchar(),li!='@')
{
if(li=='(') stack[top++]=li;
if(li==')')
{
if(stack[top-1]=='(') top--;
else
{
printf("NO\n");
return 0;
}
}
}
if(top==1) printf("YES\n");
else printf("NO\n");
return 0;
}