結果
| 問題 | No.256 桁の数字を入れ替え (2) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-12-09 21:17:52 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 127 bytes |
| 記録 | |
| コンパイル時間 | 436 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 20,700 KB |
| 最終ジャッジ日時 | 2026-05-23 22:03:02 |
| 合計ジャッジ時間 | 2,384 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 4 |
ソースコード
n=int(input())
num=""
n_list=list(n)
n_list.sort()
num+=str(n_list[::-1])
if n<int(num):
print(num)
else:
print(n)