結果

問題 No.2335 Jump
ユーザー navel_tosnavel_tos
提出日時 2023-06-02 21:31:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 399 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 92,048 KB
最終ジャッジ日時 2023-08-28 02:48:05
合計ジャッジ時間 3,268 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,304 KB
testcase_01 AC 73 ms
71,028 KB
testcase_02 AC 70 ms
71,196 KB
testcase_03 AC 72 ms
71,304 KB
testcase_04 AC 71 ms
71,244 KB
testcase_05 AC 71 ms
71,028 KB
testcase_06 AC 72 ms
71,444 KB
testcase_07 AC 72 ms
71,316 KB
testcase_08 AC 71 ms
71,424 KB
testcase_09 AC 71 ms
71,296 KB
testcase_10 AC 70 ms
71,296 KB
testcase_11 AC 72 ms
71,268 KB
testcase_12 AC 97 ms
92,008 KB
testcase_13 AC 98 ms
92,048 KB
testcase_14 AC 98 ms
91,708 KB
testcase_15 AC 96 ms
91,924 KB
testcase_16 AC 96 ms
91,784 KB
testcase_17 AC 93 ms
90,772 KB
testcase_18 AC 97 ms
91,828 KB
testcase_19 AC 96 ms
91,872 KB
testcase_20 AC 92 ms
90,796 KB
testcase_21 AC 95 ms
91,144 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

f=lambda:list(map(int,input().split()))
N=int(input()); A=[0]+f()
print(sum(A[i+1]-(A[i]+1) for i in range(N)))
0