結果
| 問題 | No.365 ジェンガソート |
| コンテスト | |
| ユーザー |
todo_2mariko
|
| 提出日時 | 2019-03-20 13:54:35 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 542 ms |
| コンパイル使用メモリ | 20,568 KB |
| 実行使用メモリ | 21,884 KB |
| 最終ジャッジ日時 | 2026-04-07 01:48:56 |
| 合計ジャッジ時間 | 8,489 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 TLE * 1 -- * 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