結果

問題 No.69 文字を自由に並び替え
ユーザー VinVin
提出日時 2022-11-25 20:18:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-10-02 03:03:56
合計ジャッジ時間 1,361 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

if __name__ == "__main__":
	str1 = [s for s in input()]
	str2 = [s for s in input()]
	
	ans = "YES"
	for j in str1:
		if j not in str2:
			ans = "NO"
			break
	
	print(ans)
0