結果
問題 |
No.1090 ソーシャルディスタンス / Social Distance
|
ユーザー |
|
提出日時 | 2021-08-16 18:25:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 23,508 KB |
最終ジャッジ日時 | 2024-10-09 15:46:59 |
合計ジャッジ時間 | 4,487 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | TLE * 1 -- * 22 |
ソースコード
N,D=map(int,input().split()) a=[0]+list(map(int,input().split())) x=[sum(a[:i+1]) for i in range(N)] print("0",end="") #0番 for i in range(1,N): x[i]=max(x[i-1]+D,x[i]) print(" "+str(x[i]),end="") #1~N-1番 print("")