結果
| 問題 | No.1592 Tenkei 90 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-07-09 21:23:20 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 503 bytes | 
| コンパイル時間 | 1,571 ms | 
| コンパイル使用メモリ | 169,548 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-01 14:55:15 | 
| 合計ジャッジ時間 | 2,310 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 17 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;
#define rep(i,n) for(int i=0; i<(n); i++)
#define INF ((1LL<<62)-(1LL<<31))
#define all(a)  (a).begin(),(a).end()
#define rall(a)  (a).rbegin(),(a).rend()
typedef long long ll;
typedef pair<ll,ll> pl;
typedef tuple<ll,ll,ll> tupl;
int main()
{
    string s;
    cin >> s;
    string r="90kyoprotenkei";
    sort(all(r));
    sort(all(s));
    if(s==r) cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}
            
            
            
        