結果
問題 |
No.69 文字を自由に並び替え
|
ユーザー |
![]() |
提出日時 | 2025-09-03 07:29:07 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 367 bytes |
コンパイル時間 | 3,147 ms |
コンパイル使用メモリ | 283,476 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-09-03 07:29:11 |
合計ジャッジ時間 | 4,224 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; #ifdef LOCAL #include <debug.hpp> #else #define debug(...) #endif int main() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(20); string A, B; cin >> A >> B; ranges::sort(A); ranges::sort(B); cout << (A == B ? "YES" : "NO") << '\n'; }