結果
| 問題 | No.69 文字を自由に並び替え | 
| コンテスト | |
| ユーザー | 👑 | 
| 提出日時 | 2019-03-19 10:50:13 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 358 bytes | 
| コンパイル時間 | 534 ms | 
| コンパイル使用メモリ | 63,552 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-12-14 07:22:42 | 
| 合計ジャッジ時間 | 1,174 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 15 | 
ソースコード
#include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
#include <algorithm>
int main()
{
    std::string a, b;
    std::cin >> a >> b;
    std::sort(a.begin(), a.end());
    std::sort(b.begin(), b.end());
    if(a == b){
        std::cout << "YES" << std::endl;
    } else {
        std::cout << "NO" << std::endl;
    }
    return 0;
}
            
            
            
        