結果
| 問題 | No.490 yukiソート |
| コンテスト | |
| ユーザー |
h_noson
|
| 提出日時 | 2017-06-14 22:23:39 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 834 ms / 2,000 ms |
| + 376µs | |
| コード長 | 198 bytes |
| 記録 | |
| コンパイル時間 | 313 ms |
| コンパイル使用メモリ | 21,336 KB |
| 実行使用メモリ | 15,788 KB |
| 最終ジャッジ日時 | 2026-09-03 14:27:54 |
| 合計ジャッジ時間 | 13,807 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 34 |
ソースコード
n = int(input())
a = list(map(int,input().split(' ')))
for i in range(1,2*n-3):
for j in range((i+1)//2):
if i - j < n and a[j] > a[i-j]:
a[j],a[i-j] = a[i-j],a[j]
print(*a)
h_noson