結果
| 問題 | No.1592 Tenkei 90 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-20 11:09:25 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 387 bytes |
| 記録 | |
| コンパイル時間 | 1,460 ms |
| コンパイル使用メモリ | 214,592 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-25 01:24:00 |
| 合計ジャッジ時間 | 2,272 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define bokusunny ios::sync_with_stdio(false), cin.tie(nullptr);
void solve() {
string S;
cin >> S;
string ans = "kyoprotenkei90";
sort(ans.begin(), ans.end());
sort(S.begin(), S.end());
if (S == ans) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
int main() {
bokusunny;
solve();
return 0;
}