結果
問題 |
No.730 アルファベットパネル
|
ユーザー |
![]() |
提出日時 | 2022-09-23 13:01:10 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 1,990 ms |
コンパイル使用メモリ | 197,764 KB |
最終ジャッジ日時 | 2025-02-07 13:51:02 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long signed main(){ string S; cin>>S; set<char> s; for(int i=0;i<S.size();i++) s.insert(S[i]); if(s.size() == S.size()) cout<<"YES"<<endl; else cout<<"NO"<<endl; }