結果

問題 No.909 たぴの配置
ユーザー ntudantuda
提出日時 2024-02-04 21:22:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 179 ms / 3,000 ms
コード長 233 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 108,420 KB
最終ジャッジ日時 2024-02-04 21:22:28
合計ジャッジ時間 5,763 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,332 KB
testcase_01 AC 36 ms
53,332 KB
testcase_02 AC 37 ms
53,332 KB
testcase_03 AC 36 ms
53,332 KB
testcase_04 AC 36 ms
53,332 KB
testcase_05 AC 179 ms
108,212 KB
testcase_06 AC 144 ms
108,404 KB
testcase_07 AC 136 ms
104,836 KB
testcase_08 AC 152 ms
108,236 KB
testcase_09 AC 159 ms
108,420 KB
testcase_10 AC 141 ms
104,824 KB
testcase_11 AC 141 ms
104,868 KB
testcase_12 AC 148 ms
108,144 KB
testcase_13 AC 173 ms
108,336 KB
testcase_14 AC 136 ms
104,836 KB
testcase_15 AC 134 ms
104,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

0