結果
| 問題 |
No.69 文字を自由に並び替え
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-25 19:13:13 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 202 bytes |
| コンパイル時間 | 231 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-03 16:47:22 |
| 合計ジャッジ時間 | 1,315 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 15 |
ソースコード
A = sorted(input('A'))
B = sorted(input('B'))
count = 0
for i in range(len(A)):
if A[i] in B[i]:
count += 1
else:
print('NO')
break
if len(A) == count:
print('YES')