結果
| 問題 |
No.490 yukiソート
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-09-01 22:05:43 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 189 bytes |
| コンパイル時間 | 292 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-11-06 17:49:25 |
| 合計ジャッジ時間 | 15,676 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 5 WA * 29 |
ソースコード
n=int(input())
A=list(map(int,input().split()))
for i in range(2*n-3):
for p in range(n):
q=i-p
if n-1<q:break
if p<q and A[p]>A[q]:A[p],A[q]=A[q],A[p]
print(*A)