diff --git a/QUSTOJ/1282.cpp b/QUSTOJ/1282.cpp new file mode 100644 index 0000000..caa403a --- /dev/null +++ b/QUSTOJ/1282.cpp @@ -0,0 +1,39 @@ +#include +#include +#include +int c[26]; +char buff[1024]; +int main() +{ + int n; + while(scanf("%d%*c",&n)==1) + { + gets(buff); + memset(c,0,sizeof(int)*26); + for(int i=0;i='A'&&buff[i]<='Z') + { + ++c[buff[i]-'A']; + } + else + { + ++c[buff[i]-'a']; + } + } + bool flag=true; + for(int i=0;i<26;i++) + { + if(c[i]<1) flag=false; + } + if(!flag) + { + printf("NO\n"); + } + else + { + printf("YES\n"); + } + } + return 0; +}