結果
| 問題 |
No.909 たぴの配置
|
| コンテスト | |
| ユーザー |
otsuri_114514
|
| 提出日時 | 2019-10-18 23:08:30 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| コンパイル時間 | 157 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 39,944 KB |
| 最終ジャッジ日時 | 2024-06-25 18:58:47 |
| 合計ジャッジ時間 | 8,098 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 1 WA * 12 |
ソースコード
n=int(input())
x=[int(i) for i in input().split()]
y=[int(i) for i in input().split()]
ans=[0]
now=x[0]+y[0]
ind=0
for i in range(1,n):
if now>x[i]+y[i]:
now=x[i]+y[i]
ind=i
print(now)
print(0)
print(*[now]*(n+1),sep="\n")
otsuri_114514