結果

問題 No.730 アルファベットパネル
ユーザー ei1333333
提出日時 2018-09-07 21:21:35
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 222 bytes
コンパイル時間 2,097 ms
コンパイル使用メモリ 196,476 KB
最終ジャッジ日時 2025-01-06 12:53:14
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

using int64 = long long;

int main() {
  string s;
  cin >> s;
  if(set< char >(s.begin(), s.end()).size() != s.size()) cout << "NO" << endl;
  else cout << "YES" << endl;
}
0