結果
| 問題 | No.909 たぴの配置 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-03 23:21:53 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 119 ms / 3,000 ms |
| + 205µs | |
| コード長 | 294 bytes |
| 記録 | |
| コンパイル時間 | 86 ms |
| コンパイル使用メモリ | 64,640 KB |
| 実行使用メモリ | 94,352 KB |
| 最終ジャッジ日時 | 2026-11-17 01:38:22 |
| 合計ジャッジ時間 | 5,296 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
ソースコード
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)