結果

問題 No.69 文字を自由に並び替え
ユーザー rocoderrocoder
提出日時 2017-05-06 10:41:38
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 133 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 10,708 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-09-09 21:16:55
合計ジャッジ時間 1,157 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 16 ms
7,764 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 AC 15 ms
7,844 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 AC 16 ms
7,868 KB
testcase_10 AC 16 ms
7,896 KB
testcase_11 RE -
testcase_12 RE -
testcase_13 AC 16 ms
7,848 KB
testcase_14 AC 16 ms
7,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A=list(input())
B=list(input())
A.sort()
B.sort()
i=0
while A[i]==B[i]:
    i+=1
if i==len(A):
    print("YES")
else:
    print("NO")
0