結果

問題 No.909 たぴの配置
ユーザー rlangevinrlangevin
提出日時 2023-01-03 16:11:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 182 ms / 3,000 ms
コード長 223 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 87,072 KB
実行使用メモリ 110,176 KB
最終ジャッジ日時 2023-08-18 00:23:43
合計ジャッジ時間 6,773 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
70,836 KB
testcase_01 AC 71 ms
71,176 KB
testcase_02 AC 71 ms
70,876 KB
testcase_03 AC 71 ms
70,928 KB
testcase_04 AC 69 ms
71,116 KB
testcase_05 AC 171 ms
109,800 KB
testcase_06 AC 170 ms
110,176 KB
testcase_07 AC 161 ms
106,560 KB
testcase_08 AC 179 ms
109,892 KB
testcase_09 AC 182 ms
110,148 KB
testcase_10 AC 165 ms
107,124 KB
testcase_11 AC 165 ms
107,536 KB
testcase_12 AC 165 ms
109,880 KB
testcase_13 AC 166 ms
110,084 KB
testcase_14 AC 159 ms
106,460 KB
testcase_15 AC 159 ms
106,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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