結果
問題 | No.69 文字を自由に並び替え |
ユーザー |
|
提出日時 | 2021-05-21 23:54:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 42 ms / 5,000 ms |
コード長 | 208 bytes |
コンパイル時間 | 440 ms |
コンパイル使用メモリ | 82,696 KB |
実行使用メモリ | 55,204 KB |
最終ジャッジ日時 | 2024-10-10 10:20:56 |
合計ジャッジ時間 | 2,141 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 |
ソースコード
import collections A = list(input()) B = list(input()) cA = collections.Counter(A) cB = collections.Counter(B) for key in cA.keys(): if cA[key] != cB[key]: print('NO') exit() print('YES')