結果
問題 | No.365 ジェンガソート |
ユーザー |
|
提出日時 | 2021-09-13 18:32:48 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 71 ms / 2,000 ms |
コード長 | 126 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 82,660 KB |
実行使用メモリ | 81,920 KB |
最終ジャッジ日時 | 2024-06-25 19:11:21 |
合計ジャッジ時間 | 4,053 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 41 |
ソースコード
N=int(input()) res=N V=list(map(int,input().split())) for i in reversed(range(N)): if res==V[i]: res-=1 print(res)