結果

問題 No.909 たぴの配置
ユーザー titiatitia
提出日時 2019-10-18 21:30:29
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 327 ms / 3,000 ms
コード長 187 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 10,568 KB
実行使用メモリ 39,188 KB
最終ジャッジ日時 2023-09-07 21:21:17
合計ジャッジ時間 6,316 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,832 KB
testcase_01 AC 17 ms
7,832 KB
testcase_02 AC 15 ms
7,904 KB
testcase_03 AC 16 ms
7,828 KB
testcase_04 AC 15 ms
7,860 KB
testcase_05 AC 302 ms
37,848 KB
testcase_06 AC 324 ms
39,188 KB
testcase_07 AC 288 ms
36,632 KB
testcase_08 AC 313 ms
37,964 KB
testcase_09 AC 327 ms
37,736 KB
testcase_10 AC 293 ms
36,668 KB
testcase_11 AC 297 ms
37,400 KB
testcase_12 AC 305 ms
39,148 KB
testcase_13 AC 318 ms
37,868 KB
testcase_14 AC 298 ms
36,532 KB
testcase_15 AC 296 ms
36,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
X=list(map(int,input().split()))
Y=list(map(int,input().split()))

ANS=min([X[i]+Y[i] for i in range(N)])

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