結果

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

ソースコード

diff #

from collections import Counter

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

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