結果

問題 No.1090 ソーシャルディスタンス / Social Distance
ユーザー 37zigen37zigen
提出日時 2020-07-02 05:22:31
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 132 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 19,592 KB
最終ジャッジ日時 2023-10-12 17:07:00
合計ジャッジ時間 3,597 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
7,904 KB
testcase_02 AC 94 ms
14,996 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 23 ms
8,832 KB
testcase_06 WA -
testcase_07 AC 71 ms
13,020 KB
testcase_08 WA -
testcase_09 AC 75 ms
13,088 KB
testcase_10 AC 92 ms
14,472 KB
testcase_11 WA -
testcase_12 AC 78 ms
13,680 KB
testcase_13 WA -
testcase_14 AC 124 ms
17,308 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 18 ms
8,260 KB
testcase_18 WA -
testcase_19 AC 70 ms
13,092 KB
testcase_20 AC 63 ms
12,656 KB
testcase_21 AC 78 ms
13,652 KB
testcase_22 AC 15 ms
7,836 KB
testcase_23 WA -
testcase_24 AC 136 ms
19,592 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,D=map(int,input().split())
a=[int(x) for x in input().split()]
a=[0]+a
for i in range(1,N):
    a[i]=max(a[i-1]+D,a[i])
print(*a)
0