結果
問題 |
No.69 文字を自由に並び替え
|
ユーザー |
|
提出日時 | 2020-09-10 16:02:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 5,000 ms |
コード長 | 217 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,368 KB |
最終ジャッジ日時 | 2024-12-23 11:23:02 |
合計ジャッジ時間 | 1,304 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 |
ソースコード
base = str(input()) diff = str(input()) if sum(bytearray(base.encode())) == sum(bytearray(diff.encode())): if sorted(base) == sorted(diff): print('YES') else: print('NO') else: print('NO')