結果
| 問題 |
No.1592 Tenkei 90
|
| コンテスト | |
| ユーザー |
grun1301
|
| 提出日時 | 2021-07-09 23:06:44 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 675 bytes |
| コンパイル時間 | 816 ms |
| コンパイル使用メモリ | 90,112 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-01 18:11:09 |
| 合計ジャッジ時間 | 1,572 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
#include <cmath>
#include <map>
#include <queue>
#include <string>
#include <string.h>
#define reps(i,s,n) for(int (i) = (s); (i) < (n); (i)++)
#define rep(i,n) reps(i,0,n)
using namespace std;
using ll = long long;
using pii = pair<int,int>;
using vi = vector<int> ;
using vl = vector<ll>;
int main(){
map<char,int> mp;
string s;
cin >> s;
string tmp = "kyoprotenkei90";
rep(i,14){
mp[s[i]]++;
}
rep(i,14){
if(mp[tmp[i]] == 0){
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
return 0;
}
grun1301