結果
| 問題 |
No.1425 Yet Another Cyclic Shifts Sorting
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 21:26:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 137 bytes |
| コンパイル時間 | 404 ms |
| コンパイル使用メモリ | 81,536 KB |
| 実行使用メモリ | 104,064 KB |
| 最終ジャッジ日時 | 2025-06-12 21:27:24 |
| 合計ジャッジ時間 | 5,744 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 WA * 20 |
ソースコード
n = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(n-1):
if a[i] > a[i+1]:
count += 1
print(count)
gew1fw