結果
問題 | No.1592 Tenkei 90 |
ユーザー |
![]() |
提出日時 | 2021-07-09 21:52:55 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 1,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 3,189 ms |
コンパイル使用メモリ | 194,272 KB |
最終ジャッジ日時 | 2025-01-22 21:33:55 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; string t = "kyoprotenkei90"; vector<int> a(256), b(256); for (auto& c : t) { a[c]++; } for (auto& c : s) { b[c]++; } cout << (a == b ? "Yes" : "No") << endl; }