結果
問題 |
No.69 文字を自由に並び替え
|
ユーザー |
|
提出日時 | 2022-06-09 13:31:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 246 bytes |
コンパイル時間 | 215 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 21,760 KB |
最終ジャッジ日時 | 2024-09-21 05:33:32 |
合計ジャッジ時間 | 3,199 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 15 |
ソースコード
from asyncio.windows_events import NULL A = list(input()) B = list(input()) num = 0 ans = len(B) for i in A: for j in B: if i == j: num += 1 B.remove(j) break print('YES' if num == ans else 'NO')