結果
| 問題 |
No.1592 Tenkei 90
|
| コンテスト | |
| ユーザー |
kobakoba_issa
|
| 提出日時 | 2021-07-09 22:11:22 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 749 bytes |
| コンパイル時間 | 4,222 ms |
| コンパイル使用メモリ | 162,816 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-01 16:40:27 |
| 合計ジャッジ時間 | 4,808 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int INF = (1<<30)-1;
const ll LINF = (1LL<<60)-1;
#define rep(i, n) for (int i = 0; i < n; i++)
#define sz(a) (int)(a.size())
template<class T>
bool chmax(T &a, T b) {if (a < b) {a = b;return true;}else return false;}
template<class T>
bool chmin(T &a, T b) {if (a > b) {a = b;return true;}else return false;}
//コーナーケースに気をつけろ!
int main() {
string s; cin >> s;
string t = "kyoprotenkei90";
sort(s.begin(), s.end());
sort(t.begin(), t.end());
if (s == t)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
//小数点精度
//cout << fixed << std::setprecision(15) << y << endl;
kobakoba_issa