結果

問題 No.365 ジェンガソート
ユーザー gr1msl3ygr1msl3y
提出日時 2022-05-16 23:13:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 2,000 ms
コード長 110 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 86,828 KB
実行使用メモリ 90,836 KB
最終ジャッジ日時 2023-10-12 17:56:23
合計ジャッジ時間 6,079 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,180 KB
testcase_01 AC 72 ms
71,156 KB
testcase_02 AC 75 ms
71,304 KB
testcase_03 AC 75 ms
71,088 KB
testcase_04 AC 75 ms
71,152 KB
testcase_05 AC 75 ms
70,980 KB
testcase_06 AC 73 ms
71,080 KB
testcase_07 AC 73 ms
71,180 KB
testcase_08 AC 72 ms
71,248 KB
testcase_09 AC 74 ms
71,356 KB
testcase_10 AC 71 ms
71,024 KB
testcase_11 AC 72 ms
71,176 KB
testcase_12 AC 74 ms
71,016 KB
testcase_13 AC 72 ms
71,152 KB
testcase_14 AC 72 ms
71,084 KB
testcase_15 AC 72 ms
71,104 KB
testcase_16 AC 92 ms
86,960 KB
testcase_17 AC 96 ms
90,556 KB
testcase_18 AC 82 ms
76,228 KB
testcase_19 AC 98 ms
90,512 KB
testcase_20 AC 81 ms
78,980 KB
testcase_21 AC 82 ms
77,884 KB
testcase_22 AC 91 ms
87,008 KB
testcase_23 AC 84 ms
81,036 KB
testcase_24 AC 89 ms
85,560 KB
testcase_25 AC 78 ms
77,152 KB
testcase_26 AC 86 ms
83,244 KB
testcase_27 AC 97 ms
90,836 KB
testcase_28 AC 91 ms
83,968 KB
testcase_29 AC 94 ms
88,844 KB
testcase_30 AC 88 ms
84,120 KB
testcase_31 AC 81 ms
78,312 KB
testcase_32 AC 81 ms
78,456 KB
testcase_33 AC 92 ms
90,776 KB
testcase_34 AC 78 ms
76,428 KB
testcase_35 AC 86 ms
85,636 KB
testcase_36 AC 98 ms
90,444 KB
testcase_37 AC 95 ms
90,620 KB
testcase_38 AC 94 ms
90,440 KB
testcase_39 AC 95 ms
90,760 KB
testcase_40 AC 95 ms
90,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))

ct=N
for a in A[::-1]:
    if ct==a:
        ct-=1
print(ct)
0