結果
問題 | No.69 文字を自由に並び替え |
ユーザー |
![]() |
提出日時 | 2017-05-06 10:49:02 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 5,000 ms |
コード長 | 159 bytes |
コンパイル時間 | 389 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-14 06:36:04 |
合計ジャッジ時間 | 1,501 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 |
ソースコード
A=list(input()) B=list(input()) A.sort() B.sort() i=0 while i<len(A) and i<len(B) and A[i]==B[i]: i+=1 if i==len(A): print("YES") else: print("NO")