結果

問題 No.909 たぴの配置
ユーザー hrbt__hrbt__
提出日時 2019-11-26 18:49:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 402 ms / 3,000 ms
コード長 221 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 39,712 KB
最終ジャッジ日時 2024-11-07 00:52:09
合計ジャッジ時間 6,974 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,624 KB
testcase_01 AC 30 ms
10,624 KB
testcase_02 AC 30 ms
10,752 KB
testcase_03 AC 31 ms
10,624 KB
testcase_04 AC 30 ms
10,624 KB
testcase_05 AC 386 ms
36,316 KB
testcase_06 AC 398 ms
39,712 KB
testcase_07 AC 369 ms
36,412 KB
testcase_08 AC 392 ms
37,496 KB
testcase_09 AC 402 ms
38,536 KB
testcase_10 AC 376 ms
36,348 KB
testcase_11 AC 368 ms
35,980 KB
testcase_12 AC 391 ms
38,580 KB
testcase_13 AC 402 ms
38,720 KB
testcase_14 AC 374 ms
36,300 KB
testcase_15 AC 365 ms
36,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
n = int(input())
x = list(map(int, input().split()))
y = list(map(int, input().split()))
m = min([a + b for a, b in zip(x, y)])
print(m)
print(0)
for i in range(n):
    print(min(x[i], m))
print(m)
0