結果
| 問題 | No.69 文字を自由に並び替え | 
| コンテスト | |
| ユーザー |  wesoweeen | 
| 提出日時 | 2021-11-30 21:16:23 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 30 ms / 5,000 ms | 
| コード長 | 267 bytes | 
| コンパイル時間 | 267 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-07-03 18:00:29 | 
| 合計ジャッジ時間 | 1,192 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 15 | 
ソースコード
import collections
def main():
    word_1 = list(input())
    word_2 = list(input())
    c1 = collections.Counter(word_1)
    c2 = collections.Counter(word_2)
    if c1 == c2:
        print('YES')
    else:
        print('NO')
if __name__ == "__main__":
    main()
            
            
            
        