結果

問題 No.69 文字を自由に並び替え
ユーザー bellangeldindon
提出日時 2017-06-01 20:20:30
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-27 13:46:47
合計ジャッジ時間 842 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

def strtolist(s):
	lst = []
	for i in range(0, len(s)):
		lst.append(s[i])
	return lst

def judge(a, b):
	if a == b:
		return 'YES'
	else:
		return 'NO'

a = strtolist(raw_input())
a.sort()
b = strtolist(raw_input())
b.sort
print judge(a, b)
0