結果

問題 No.69 文字を自由に並び替え
ユーザー yumenomatayumeyumenomatayume
提出日時 2020-04-02 08:33:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 95 ms / 5,000 ms
コード長 136 bytes
コンパイル時間 1,174 ms
コンパイル使用メモリ 86,736 KB
実行使用メモリ 71,688 KB
最終ジャッジ日時 2023-09-10 11:04:00
合計ジャッジ時間 3,581 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
71,420 KB
testcase_01 AC 93 ms
71,340 KB
testcase_02 AC 93 ms
71,532 KB
testcase_03 AC 94 ms
71,588 KB
testcase_04 AC 91 ms
71,524 KB
testcase_05 AC 92 ms
71,656 KB
testcase_06 AC 95 ms
71,632 KB
testcase_07 AC 94 ms
71,608 KB
testcase_08 AC 90 ms
71,544 KB
testcase_09 AC 92 ms
71,480 KB
testcase_10 AC 92 ms
71,412 KB
testcase_11 AC 93 ms
71,688 KB
testcase_12 AC 93 ms
71,520 KB
testcase_13 AC 94 ms
71,536 KB
testcase_14 AC 92 ms
71,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections

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

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