結果
問題 |
No.69 文字を自由に並び替え
|
ユーザー |
![]() |
提出日時 | 2019-10-20 17:22:02 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 242 bytes |
コンパイル時間 | 663 ms |
コンパイル使用メモリ | 61,104 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-02 17:28:03 |
合計ジャッジ時間 | 1,132 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 15 |
ソースコード
#include <iostream> #include <string> #include <algorithm> using namespace std; string s,t; int main(){ cin>>s>>t; sort(s.begin(),s.end()); sort(t.begin(),t.end()); if(s==t)cout<<"Yes\n"; else cout<<"No\n"; return 0; }