結果

問題 No.1592 Tenkei 90
ユーザー bokusunny
提出日時 2022-01-20 11:09:25
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 20 ms / 1,000 ms
コード長 387 bytes
コンパイル時間 1,799 ms
コンパイル使用メモリ 197,996 KB
最終ジャッジ日時 2025-01-27 13:12:01
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define bokusunny ios::sync_with_stdio(false), cin.tie(nullptr);

void solve() {
  string S;
  cin >> S;

  string ans = "kyoprotenkei90";
  sort(ans.begin(), ans.end());
  sort(S.begin(), S.end());

  if (S == ans) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

int main() {
  bokusunny;
  solve();

  return 0;
}
0