結果

問題 No.69 文字を自由に並び替え
コンテスト
ユーザー bellangeldindon
提出日時 2017-06-01 20:20:30
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 242 bytes
記録
コンパイル時間 156 ms
コンパイル使用メモリ 77,584 KB
最終ジャッジ日時 2025-12-03 23:52:59
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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