結果

問題 No.1592 Tenkei 90
ユーザー haruki_4936haruki_4936
提出日時 2022-02-12 21:52:57
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 1,005 bytes
コンパイル時間 4,979 ms
コンパイル使用メモリ 262,436 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-11 10:16:50
合計ジャッジ時間 6,394 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 1 ms
4,380 KB
testcase_04 AC 2 ms
4,376 KB
testcase_05 AC 1 ms
4,376 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 2 ms
4,376 KB
testcase_10 AC 1 ms
4,380 KB
testcase_11 AC 1 ms
4,380 KB
testcase_12 AC 1 ms
4,380 KB
testcase_13 AC 2 ms
4,376 KB
testcase_14 AC 2 ms
4,380 KB
testcase_15 AC 1 ms
4,376 KB
testcase_16 AC 2 ms
4,376 KB
testcase_17 AC 1 ms
4,380 KB
testcase_18 AC 1 ms
4,380 KB
testcase_19 AC 1 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

// #define _GLIBCXX_DEBUG
#include<bits/stdc++.h>
#include <atcoder/all>
#define rep(i, n) for (long long i = 0; i < (n); i++)
#define rep1(i, n) for(long long i = 1; i <= (n); i++)
#define all(v) v.begin(),v.end()
#define decimal(n) cout << fixed << setprecision(n);
using namespace std; 
using namespace atcoder;
using ll = long long; using vl = vector<ll>; using P = pair<ll,ll>;
using vvl = vector<vl>; using vc = vector<char>; using vvc = vector<vc>;
using mint = modint998244353;
// using mint = modint1000000007;
const ll MOD = 998244353;
const ll MAX = 2000100; const ll inf = 3e18; const long double pi = acos(-1);
template<class T>bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<class T>bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; }
ll lcm(ll a,ll b){ return (a*b) / gcd(a,b); }



int main(){
  string s; cin >> s;
  string t = "kyoprotenkei90";

  sort(all(s));
  sort(all(t));

  cout << ( s == t ? "Yes" : "No") << endl; 
  
}
0