結果
問題 | No.1592 Tenkei 90 |
ユーザー |
![]() |
提出日時 | 2021-07-09 21:25:30 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 64 ms / 1,000 ms |
コード長 | 446 bytes |
コンパイル時間 | 1,807 ms |
コンパイル使用メモリ | 196,296 KB |
最終ジャッジ日時 | 2025-01-22 20:41:57 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
// code by lynmisakura. wish to be accepted! #include<bits/stdc++.h> using namespace std; #define REP(i,N) for(int i = 0;i < N;i++) using ll = long long; int main(void){ cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(15); string s,t; cin >> s; t = "kyoprotenkei90"; sort(s.begin(),s.end()); sort(t.begin(),t.end()); if(s == t){ cout << "Yes" << '\n'; }else{ cout << "No" << '\n'; } }