mirror of
https://github.com/tiennm99/codeforces.git
synced 2026-10-14 08:18:09 +00:00
[Init] Solved solutions
This commit is contained in:
1 parent
51f667ac81
commit
20542601dd
131 files changed
+4148
No files matched your search
+26
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace _520A
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static string c = "abcdefghijklmnopqrstuvwxyz";
|
||||
static bool Check(string s)
|
||||
{
|
||||
for (int i = 0; i < 26; i++)
|
||||
{
|
||||
if (s.IndexOf(c[i]) == -1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string s = Console.ReadLine();
|
||||
s = Console.ReadLine().ToLower();
|
||||
Console.WriteLine("{0}", Check(s) ? "YES" : "NO");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user