五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

CF 520A - Pangram

2023-07-26 09:30 作者:您是打尖兒還是住店呢  | 我要投稿

A word or a sentence in some language is called a pangram if all the characters of the alphabet of this language appear in it at least once. Pangrams are often used to demonstrate fonts in printing or test the output devices.


You are given a string consisting of lowercase and uppercase Latin letters. Check whether this string is a pangram. We say that the string contains a letter of the Latin alphabet if this letter occurs in the string in uppercase or lowercase.


Input

The first line contains a single integer n (1?≤?n?≤?100) — the number of characters in the string.


The second line contains the string. The string consists only of uppercase and lowercase Latin letters.


Output

Output "YES", if the string is a pangram and "NO" otherwise.

--------------------------------------------------------------------

某種語言中的一個(gè)單詞或一個(gè)句子,如果該語言字母表中的所有字符至少出現(xiàn)一次,則稱為全語法。 Pangrams 通常用于演示打印中的字體或測試輸出設(shè)備。


給您一個(gè)由小寫和大寫拉丁字母組成的字符串。 檢查這個(gè)字符串是否是一個(gè)全語法。 如果該字母以大寫或小寫形式出現(xiàn)在字符串中,我們就說該字符串包含拉丁字母表中的字母。


輸入

第一行包含一個(gè)整數(shù) n (1?≤?n?≤?100) — 字符串中的字符數(shù)。


第二行包含字符串。 該字符串僅由大寫和小寫拉丁字母組成。


輸出

如果字符串是全語法,則輸出“YES”,否則輸出“NO”。

-----------------------------------------------------------

簡單題目,直接遍歷,確認(rèn)有26個(gè)字母即可;

下面是代碼:


CF 520A - Pangram的評論 (共 條)

分享到微博請遵守國家法律
新建县| 安徽省| 新宾| 徐水县| 遂川县| 娄烦县| 海林市| 梅河口市| 农安县| 阜宁县| 乌拉特前旗| 台南县| 陕西省| 道真| 鹤壁市| 枣阳市| 金寨县| 大石桥市| 法库县| 衡东县| 略阳县| 汕头市| 车致| 冷水江市| 新民市| 阳谷县| 松原市| 黔西县| 白城市| 枣庄市| 五寨县| 芒康县| 呼玛县| 左贡县| 和龙市| 宁安市| 普陀区| 高要市| 九龙城区| 金湖县| 汕头市|