結果
| 問題 |
No.69 文字を自由に並び替え
|
| コンテスト | |
| ユーザー |
muuyuum
|
| 提出日時 | 2016-07-12 01:01:23 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 166 bytes |
| コンパイル時間 | 655 ms |
| コンパイル使用メモリ | 7,204 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-27 13:33:41 |
| 合計ジャッジ時間 | 1,473 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 1 |
ソースコード
a = raw_input()
b = raw_input()
for x in a:
for y in b:
if x == y:
a = a.replace(x,"",1)
if len(a) == 0:
print "YES"
else:
print "NO"
muuyuum