結果

問題 No.69 文字を自由に並び替え
ユーザー bellangeldindonbellangeldindon
提出日時 2017-06-01 20:20:30
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 161 ms
コンパイル使用メモリ 6,712 KB
実行使用メモリ 6,112 KB
最終ジャッジ日時 2023-09-09 21:18:05
合計ジャッジ時間 1,083 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,056 KB
testcase_01 AC 12 ms
6,008 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 11 ms
6,056 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 11 ms
6,012 KB
testcase_10 AC 11 ms
6,056 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 11 ms
5,872 KB
testcase_14 AC 11 ms
5,932 KB
権限があれば一括ダウンロードができます

ソースコード

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