結果
問題 | No.69 文字を自由に並び替え |
ユーザー |
|
提出日時 | 2022-01-25 18:51:30 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 5,000 ms |
コード長 | 202 bytes |
コンパイル時間 | 393 ms |
コンパイル使用メモリ | 82,544 KB |
実行使用メモリ | 53,316 KB |
最終ジャッジ日時 | 2024-12-17 13:01:21 |
合計ジャッジ時間 | 1,749 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 |
ソースコード
import sys def input(): return sys.stdin.readline().rstrip() def main(): A = input() B = input() print('YES' if sorted(A) == sorted(B) else 'NO') if __name__ == '__main__': main()