結果
問題 | No.1592 Tenkei 90 |
ユーザー |
![]() |
提出日時 | 2021-07-09 21:26:38 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 700 bytes |
コンパイル時間 | 1,977 ms |
コンパイル使用メモリ | 196,296 KB |
最終ジャッジ日時 | 2025-01-22 20:45:45 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
#include <bits/stdc++.h>//#include <atcoder/all>using namespace std;using ll = long long;constexpr long long MOD = 1000000007;constexpr long long MOD2 = 998244353;constexpr long long INF = 1LL << 60;const long double PI = acosl(-1.0);constexpr long double EPS = 1e-11;template<class T> inline bool chmin(T& a, T b) {if (a > b) {a = b;return true;}return false;}template<class T> inline bool chmax(T& a, T b) {if (a < b) {a = b;return true;}return false;}int main(){string s = "kyoprotenkei90";string t;cin >> t;sort(s.begin(), s.end());sort(t.begin(), t.end());if (s == t) cout << "Yes" << endl;elsecout << "No" << endl;}