結果
問題 |
No.1592 Tenkei 90
|
ユーザー |
![]() |
提出日時 | 2021-07-10 00:18:52 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 8 ms / 1,000 ms |
コード長 | 451 bytes |
コンパイル時間 | 5,009 ms |
コンパイル使用メモリ | 195,144 KB |
最終ジャッジ日時 | 2025-01-22 23:09:29 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> //#include <atcoder/modint> using namespace std; //using namespace atcoder; //using mint = modint1000000007; typedef long long ll; #define FOR(I,A,B) for(ll I = ll(A); I < ll(B); ++I) ll keta_(ll a){ll r=0;while(a){a/=10;r++;}return r;} int main(){ string s,t = "kyoprotenkei90"; cin >> s; sort(s.begin(), s.end()); sort(t.begin(), t.end()); if(s==t){ cout << "Yes" << endl; }else{ cout << "No" << endl; } }