結果
| 問題 |
No.365 ジェンガソート
|
| コンテスト | |
| ユーザー |
todo_2mariko
|
| 提出日時 | 2019-03-20 13:54:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 166 bytes |
| コンパイル時間 | 235 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 18,260 KB |
| 最終ジャッジ日時 | 2024-09-18 23:39:21 |
| 合計ジャッジ時間 | 5,620 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 TLE * 2 -- * 23 |
ソースコード
n = int(input())
block = list(map(int, input().split(' ')))
while n > 1:
if block.index(n) > block.index(n-1):
n -= 1
else:
break
print(n-1)
todo_2mariko