[Init] Solved solutions

This commit is contained in:
2023-03-02 20:58:03 +07:00
parent 51f667ac81
commit 20542601dd
131 changed files with 4148 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
#include <iostream>
#include <string>
#include <cctype>
using namespace std;
bool check(string s)
{
for (string::iterator it = s.begin(); it != s.end(); it++)
{
*it = toupper(*it);
}
for (unsigned char c = 'A'; c <= 'Z'; c++)
{
if (s.find(c) == -1)
{
return 0;
}
}
return 1;
}
int main()
{
unsigned short n;
string s;
cin >> n >> s;
if (check(s))
{
cout << "YES";
}
else
{
cout << "NO";
}
return 0;
}