結果
| 問題 | No.69 文字を自由に並び替え | 
| コンテスト | |
| ユーザー |  rniya | 
| 提出日時 | 2020-05-30 20:45:15 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 3 ms / 5,000 ms | 
| コード長 | 237 bytes | 
| コンパイル時間 | 1,652 ms | 
| コンパイル使用メモリ | 169,216 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-08 02:27:48 | 
| 合計ジャッジ時間 | 2,335 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 15 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    string S,T; cin >> S >> T;
    sort(S.begin(),S.end());
    sort(T.begin(),T.end());
    cout << (S==T?"YES":"NO") << '\n';
}
            
            
            
        