結果
| 問題 | No.365 ジェンガソート |
| コンテスト | |
| ユーザー |
mban
|
| 提出日時 | 2017-03-05 02:49:16 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 77,600 KB |
| 最終ジャッジ日時 | 2025-12-03 23:10:23 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 WA * 25 |
ソースコード
N = input()
a = map(int , raw_input().split())
count = 0
look = a[0]
for i in range(N - 1):
if look > a[i + 1]:
count += 1
else:
look = a[i + 1]
print count
mban