結果

問題 No.69 文字を自由に並び替え
ユーザー yumenomatayume
提出日時 2020-04-02 08:33:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 5,000 ms
コード長 136 bytes
コンパイル時間 1,784 ms
コンパイル使用メモリ 81,612 KB
実行使用メモリ 55,292 KB
最終ジャッジ日時 2024-06-28 02:27:02
合計ジャッジ時間 1,572 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections

a = str(input())
b = str(input())

print('YES') if collections.Counter(a) == collections.Counter(b) else print('NO')
0