結果
問題 | No.1592 Tenkei 90 |
ユーザー |
![]() |
提出日時 | 2021-08-19 22:36:49 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 439 bytes |
コンパイル時間 | 1,785 ms |
コンパイル使用メモリ | 174,924 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-13 00:28:38 |
合計ジャッジ時間 | 2,320 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n, o) for(int i = o;i < (n);i++) #define ou(x) cout << x << endl #define ll long long #define re return 0 int main(){ string s, ch = "kyoprotenkei90"; map<char, int> mp; map<char, int> m; cin >> s; rep(i, s.length(), 0){ mp[s[i]]++; } rep(i, ch.length(), 0){ m[ch[i]]++; } if(m == mp) ou("Yes"); else ou("No"); re; }