結果
| 問題 | No.909 たぴの配置 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-03 23:21:53 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 124 ms / 3,000 ms |
| コード長 | 294 bytes |
| 記録 | |
| コンパイル時間 | 117 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 123,392 KB |
| 最終ジャッジ日時 | 2026-03-24 05:48:11 |
| 合計ジャッジ時間 | 3,551 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
n = int(input())
X = list(map(int,input().split()))
Y = list(map(int,input().split()))
ans = 10**20
for x,y in zip(X,Y):
ans = min(ans,x+y)
inf = 10**10
print(ans)
print(inf)
for x,y in zip(X,Y):
cand = x
if abs(ans-cand) > y:
cand = ans-y
print(cand+inf)
print(ans+inf)