結果

問題 No.909 たぴの配置
ユーザー 👑 H20H20
提出日時 2020-12-04 11:08:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 206 ms / 3,000 ms
コード長 224 bytes
コンパイル時間 965 ms
コンパイル使用メモリ 86,500 KB
実行使用メモリ 110,244 KB
最終ジャッジ日時 2023-10-12 23:23:12
合計ジャッジ時間 5,939 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,024 KB
testcase_01 AC 72 ms
71,252 KB
testcase_02 AC 71 ms
71,348 KB
testcase_03 AC 73 ms
71,168 KB
testcase_04 AC 73 ms
71,008 KB
testcase_05 AC 206 ms
109,708 KB
testcase_06 AC 171 ms
110,244 KB
testcase_07 AC 161 ms
106,528 KB
testcase_08 AC 179 ms
109,880 KB
testcase_09 AC 178 ms
110,204 KB
testcase_10 AC 170 ms
107,216 KB
testcase_11 AC 170 ms
107,536 KB
testcase_12 AC 170 ms
109,900 KB
testcase_13 AC 172 ms
110,060 KB
testcase_14 AC 165 ms
106,584 KB
testcase_15 AC 164 ms
106,616 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
X = list(map(int,input().split()))
Y = list(map(int,input().split()))
ans = 10**10
for i in range(N):
    ans = min(ans,X[i]+Y[i])
print(ans)
print(0)
for i in range(N):
    print(max(0,ans-Y[i]))
print(ans)
0