結果
| 問題 |
No.1592 Tenkei 90
|
| コンテスト | |
| ユーザー |
naskya
|
| 提出日時 | 2021-07-09 23:45:13 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 335 bytes |
| コンパイル時間 | 918 ms |
| コンパイル使用メモリ | 74,652 KB |
| 最終ジャッジ日時 | 2025-01-22 22:53:13 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include <algorithm>
#include <iostream>
#include <string>
int main() {
std::string target = "kyoprotenkei90";
std::string input;
std::cin >> input;
std::sort(std::begin(target), std::end(target));
std::sort(std::begin(input), std::end(input));
std::cout << ((input == target) ? "Yes\n" : "No\n");
}
naskya