結果
| 問題 |
No.39 桁の数字を入れ替え
|
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2015-09-08 22:05:40 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 189 bytes |
| コンパイル時間 | 47 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2024-07-19 05:00:41 |
| 合計ジャッジ時間 | 1,078 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 WA * 8 |
ソースコード
N = raw_input() maxIndex = 0 n = N[0] for i in range(len(N)): if N[maxIndex] <=N[i]: maxIndex = i listN = list(N) listN[0],listN[maxIndex] = listN[maxIndex],listN[0] print ''.join(listN)
tookunn_1213