結果

問題 No.69 文字を自由に並び替え
ユーザー matsu7874matsu7874
提出日時 2014-11-20 23:19:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 27 ms / 5,000 ms
コード長 171 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 10,484 KB
実行使用メモリ 9,072 KB
最終ジャッジ日時 2023-08-20 22:41:55
合計ジャッジ時間 1,588 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
8,908 KB
testcase_01 AC 26 ms
8,988 KB
testcase_02 AC 26 ms
8,844 KB
testcase_03 AC 26 ms
8,900 KB
testcase_04 AC 26 ms
8,968 KB
testcase_05 AC 26 ms
8,916 KB
testcase_06 AC 26 ms
9,036 KB
testcase_07 AC 26 ms
8,968 KB
testcase_08 AC 26 ms
8,904 KB
testcase_09 AC 26 ms
9,072 KB
testcase_10 AC 27 ms
8,944 KB
testcase_11 AC 26 ms
8,892 KB
testcase_12 AC 26 ms
8,908 KB
testcase_13 AC 26 ms
8,900 KB
testcase_14 AC 26 ms
8,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import string
A = input()
B = input()
flg = True
for x in string.ascii_lowercase:
	if A.count(x) == B.count(x):
		pass
	else:
		print("NO")
		exit()
print("YES")
0