結果
| 問題 |
No.365 ジェンガソート
|
| コンテスト | |
| ユーザー |
todo_2mariko
|
| 提出日時 | 2019-03-20 14:19:46 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 70 ms / 2,000 ms |
| コード長 | 171 bytes |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 20,640 KB |
| 最終ジャッジ日時 | 2024-09-19 00:21:43 |
| 合計ジャッジ時間 | 3,614 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 41 |
ソースコード
n = int(input())
block = list(map(int, input().split(' ')))
del block[block.index(n):]
block = block[::-1]
t = n-1
for i in block:
if i == t:
t -= 1
print(t)
todo_2mariko