結果

問題 No.909 たぴの配置
ユーザー SalmonizeSalmonize
提出日時 2020-03-10 13:31:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 339 ms / 3,000 ms
コード長 186 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 40,452 KB
最終ジャッジ日時 2024-04-27 18:34:57
合計ジャッジ時間 5,841 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
10,752 KB
testcase_01 AC 23 ms
10,624 KB
testcase_02 AC 27 ms
10,624 KB
testcase_03 AC 26 ms
10,624 KB
testcase_04 AC 24 ms
10,624 KB
testcase_05 AC 329 ms
36,572 KB
testcase_06 AC 327 ms
39,720 KB
testcase_07 AC 309 ms
38,184 KB
testcase_08 AC 325 ms
39,400 KB
testcase_09 AC 339 ms
40,452 KB
testcase_10 AC 306 ms
38,324 KB
testcase_11 AC 304 ms
37,904 KB
testcase_12 AC 326 ms
38,456 KB
testcase_13 AC 339 ms
38,892 KB
testcase_14 AC 315 ms
38,204 KB
testcase_15 AC 316 ms
37,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
f = tuple(map(int, input().split()))
g = tuple(map(int, input().split()))
h = min(x + y for x, y in zip(f,g))
print(h)
print(0)
for x in f:
    print(min(h, x))
print(h)
0