結果
| 問題 |
No.1592 Tenkei 90
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-18 13:05:51 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 405 bytes |
| コンパイル時間 | 1,410 ms |
| コンパイル使用メモリ | 171,688 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-08 06:41:20 |
| 合計ジャッジ時間 | 2,011 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = 1e+9;
const ll LINF = (ll)pow(10,18);
int main(){
string s;
cin >> s;
set<char> sc;
for(int i=0; i<s.size(); i++) sc.insert(s[i]);
string ans = "kyoprokentei90";
for(int i=0; i<14; i++) if(!sc.count(ans[i])){
cout << "No" << endl;
return 0;
}
cout << "Yes" << endl;
}