結果
| 問題 | No.69 文字を自由に並び替え | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-02-16 15:21:41 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 220 bytes | 
| コンパイル時間 | 669 ms | 
| コンパイル使用メモリ | 73,976 KB | 
| 最終ジャッジ日時 | 2025-01-06 21:10:29 | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 15 | 
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main() {
	string a, b;
	cin >> a >> b;
	sort(a.begin(), a.end());
	sort(b.begin(), b.end());
	cout << (a == b ? "YES" : "NO") << endl;
}
            
            
            
        