結果
| 問題 | No.365 ジェンガソート |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2025-10-24 21:20:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 95,980 KB |
| 実行使用メモリ | 97,408 KB |
| 最終ジャッジ日時 | 2026-07-15 22:48:16 |
| 合計ジャッジ時間 | 5,367 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
回転