結果

問題 No.69 文字を自由に並び替え
ユーザー tanon710
提出日時 2019-04-14 04:52:10
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-12-14 07:24:19
合計ジャッジ時間 1,162 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

a=input()
b=input()
count1=[i for i in a]
count1=sorted(count1)
count2=[i for i in b]
count2=sorted(count2)
if count1==count2:
    print('YES')
else:
    print('NO')
0