結果
| 問題 | No.69 文字を自由に並び替え |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-11-19 04:43:20 |
| 言語 | C++11(廃止可能性あり) (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 315 bytes |
| 記録 | |
| コンパイル時間 | 572 ms |
| コンパイル使用メモリ | 61,944 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-27 07:09:21 |
| 合計ジャッジ時間 | 1,165 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 6 |
ソースコード
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long ll;
int main(){
string A, B;
sort(A.begin(), A.end());
sort(B.begin(), B.end());
if(A == B) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}