求助#17错误
  • 板块CF520A Pangram
  • 楼主BartonMeow
  • 当前回复3
  • 已保存回复3
  • 发布时间2022/5/19 10:29
  • 上次更新2023/10/28 01:08:48
查看原帖
求助#17错误
594203
BartonMeow楼主2022/5/19 10:29
#include <iostream>
#include <set>
using namespace std;
int main()
{
    int n;
    char c;
    set<char> st;
    cin >> n;
    while (n--)
    {
        c = getchar();
        if (c >= 'A' && c <= 'Z')
            c += 32;
        st.insert(c);
    }
    cout << (st.size() == 26 ? "YES" : "NO");
    return 0;
}

#17 wa

2022/5/19 10:29
加载中...