結果
問題 | No.490 yukiソート |
ユーザー |
![]() |
提出日時 | 2017-03-11 15:14:05 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 82 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,952 KB |
最終ジャッジ日時 | 2024-06-24 12:28:22 |
合計ジャッジ時間 | 5,228 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 2 |
other | WA * 14 TLE * 1 -- * 19 |
ソースコード
n = int(input())A = list(map(int, input().split()))for i in range(1, 2*n-3):for q in range(n):p = i - qif 0 <= p < q and A[p] > A[q]:A[p], A[q] = A[q], A[p]print(i, p, q)print(A)