結果

問題 No.69 文字を自由に並び替え
ユーザー lam6er
提出日時 2025-03-20 20:17:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 5,000 ms
コード長 124 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 82,436 KB
実行使用メモリ 55,620 KB
最終ジャッジ日時 2025-03-20 20:17:48
合計ジャッジ時間 1,574 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

a = input().strip()
b = input().strip()

print("YES" if Counter(a) == Counter(b) else "NO")
0