結果
| 問題 |
No.365 ジェンガソート
|
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2025-10-24 21:20:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| コンパイル時間 | 256 ms |
| コンパイル使用メモリ | 82,228 KB |
| 実行使用メモリ | 82,660 KB |
| 最終ジャッジ日時 | 2025-10-24 21:20:09 |
| 合計ジャッジ時間 | 4,109 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 WA * 25 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
ans = 0
now = -1
for i in range(N):
if(now > A[i]):
ans += 1
else:
now = A[i]
print(ans)
回転