結果

問題 No.365 ジェンガソート
ユーザー ebicochineal
提出日時 2016-05-12 15:27:59
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 83 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,720 KB
最終ジャッジ日時 2024-10-12 02:17:33
合計ジャッジ時間 3,513 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 41
権限があれば一括ダウンロードができます

ソースコード

diff #

n=m=int(input())
for i in reversed(input().split()):
    if int(i)==m:m-=1
print(m)
0