結果
| 問題 | No.1592 Tenkei 90 | 
| コンテスト | |
| ユーザー |  ぷら | 
| 提出日時 | 2021-07-09 21:23:02 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 3 ms / 1,000 ms | 
| コード長 | 342 bytes | 
| コンパイル時間 | 2,029 ms | 
| コンパイル使用メモリ | 200,116 KB | 
| 最終ジャッジ日時 | 2025-01-22 20:31:49 | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 17 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
    string S;
    cin >> S;
    map<char,int>tmp1,tmp2;
    string T = "kyoprotenkei90";
    for(int i = 0; i < 14; i++) {
        tmp1[S[i]]++;
        tmp2[T[i]]++;
    }
    if(tmp1 == tmp2) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}
            
            
            
        