結果

問題 No.909 たぴの配置
コンテスト
ユーザー rin204
提出日時 2022-01-19 00:03:32
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 136 ms / 3,000 ms
コード長 199 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 184 ms
コンパイル使用メモリ 85,248 KB
実行使用メモリ 123,136 KB
最終ジャッジ日時 2026-05-17 06:45:02
合計ジャッジ時間 4,631 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

n = int(input())
X = list(map(int, input().split()))
Y = list(map(int, input().split()))
max_ = min(x + y for x, y in zip(X, Y))

print(max_)
print(0)
for x in X:
    print(min(x, max_))
print(max_)
0