結果
| 問題 | No.39 桁の数字を入れ替え |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-19 17:21:29 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 21,412 KB |
| 実行使用メモリ | 20,732 KB |
| 最終ジャッジ日時 | 2026-07-27 10:13:17 |
| 合計ジャッジ時間 | 5,847 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 19 |
ソースコード
s = input()
pre = []
for i in range(len(s)):
for j in range(len(s)):
if i==j:continue
print(i,j)
a = s[i]
b = s[j]
s[j]=a
s[i]=b
pre.append(int(s))
print(max(pre))