結果

問題 No.1592 Tenkei 90
ユーザー irona
提出日時 2021-07-09 21:24:16
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 679 bytes
コンパイル時間 3,785 ms
コンパイル使用メモリ 231,332 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-01 14:59:04
合計ジャッジ時間 4,473 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#include <atcoder/all>
#define ll long long int
#define vec vector<ll>
#define mat vector<vector<ll>>
#define pll pair<ll,ll>
#define count __builtin_popcountll

using namespace std;
using namespace atcoder;
//using mint = modint1000000007;

const ll mod=1000000007;//998244353;
const ll inf=1000000000000000000;
ll dx4[4]={1,0,-1,0};
ll dy4[4]={0,-1,0,1};
ll dx8[8]={1,0,-1,1,-1,1,0,-1};
ll dy8[8]={1,1,1,0,0,-1,-1,-1};

int main(){
  cout << fixed << setprecision(15);

  string s;
  cin >> s;
  sort(s.begin(),s.end());
  string t="kyoprotenkei90";
  sort(t.begin(),t.end());
  if(s==t)cout << "Yes" << endl;
  else cout << "No" << endl;

  return 0;
}
0