結果

問題 No.365 ジェンガソート
ユーザー nohakai3nohakai3
提出日時 2022-10-19 14:57:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 86,536 KB
実行使用メモリ 90,012 KB
最終ジャッジ日時 2023-09-12 04:35:10
合計ジャッジ時間 5,888 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,084 KB
testcase_01 AC 73 ms
71,212 KB
testcase_02 AC 73 ms
71,212 KB
testcase_03 AC 74 ms
70,932 KB
testcase_04 AC 75 ms
70,984 KB
testcase_05 AC 73 ms
71,380 KB
testcase_06 AC 74 ms
71,212 KB
testcase_07 AC 74 ms
70,928 KB
testcase_08 AC 72 ms
71,304 KB
testcase_09 AC 72 ms
71,012 KB
testcase_10 AC 74 ms
70,796 KB
testcase_11 AC 73 ms
71,016 KB
testcase_12 AC 73 ms
71,244 KB
testcase_13 AC 73 ms
71,100 KB
testcase_14 AC 74 ms
71,092 KB
testcase_15 AC 74 ms
70,828 KB
testcase_16 AC 121 ms
86,464 KB
testcase_17 AC 99 ms
89,792 KB
testcase_18 AC 80 ms
76,120 KB
testcase_19 AC 98 ms
89,772 KB
testcase_20 AC 84 ms
78,864 KB
testcase_21 AC 82 ms
77,084 KB
testcase_22 AC 91 ms
86,396 KB
testcase_23 AC 87 ms
80,436 KB
testcase_24 AC 88 ms
84,772 KB
testcase_25 AC 80 ms
76,988 KB
testcase_26 AC 85 ms
82,304 KB
testcase_27 AC 95 ms
89,692 KB
testcase_28 AC 88 ms
83,320 KB
testcase_29 AC 92 ms
87,976 KB
testcase_30 AC 89 ms
83,548 KB
testcase_31 AC 81 ms
78,048 KB
testcase_32 AC 81 ms
77,804 KB
testcase_33 AC 94 ms
89,516 KB
testcase_34 AC 78 ms
76,064 KB
testcase_35 AC 88 ms
84,904 KB
testcase_36 AC 97 ms
89,840 KB
testcase_37 AC 93 ms
89,372 KB
testcase_38 AC 94 ms
89,796 KB
testcase_39 AC 94 ms
89,924 KB
testcase_40 AC 96 ms
90,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

for i in range(A.index(max(A)),-1,-1):
    if A[i]==n:
        n-=1

print(n)
0