結果
問題 |
No.490 yukiソート
|
ユーザー |
![]() |
提出日時 | 2017-06-09 15:27:05 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 275 bytes |
コンパイル時間 | 270 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 14:27:33 |
合計ジャッジ時間 | 4,952 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | AC * 2 RE * 32 |
ソースコード
n = int(raw_input()) l = map(int, raw_input().split()) for i in range(2*n-3): for p in range(n-1): q = i - p if p >= q: break if l[p] > l[q]: t = l[p] l[p] = l[q] l[q] = t print ' '.join(map(str,l))