結果
問題 |
No.69 文字を自由に並び替え
|
ユーザー |
|
提出日時 | 2020-12-14 19:36:26 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 1,422 ms |
コンパイル使用メモリ | 169,584 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-20 00:53:00 |
合計ジャッジ時間 | 2,094 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 15 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string a, b; cin >> a; cin >> b; sort(a.begin(), a.end()); sort(b.begin(), b.end()); string c = a == b ? "YES" : "NO"; printf("%s\n", c); return 0; }