結果
問題 | No.69 文字を自由に並び替え |
ユーザー |
|
提出日時 | 2017-08-07 21:08:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 5,000 ms |
コード長 | 211 bytes |
コンパイル時間 | 115 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-14 06:42:51 |
合計ジャッジ時間 | 1,277 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 |
ソースコード
str = [list(input()), list(input())] str[0].sort() str[1].sort() for i in range(len(str[0])): if(str[0][i] != str[1][i]): print('NO') break elif(i == len(str[0])-1): print('YES')