結果

問題 No.909 たぴの配置
ユーザー kimiyukikimiyuki
提出日時 2019-10-18 21:27:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 333 ms / 3,000 ms
コード長 233 bytes
コンパイル時間 1,277 ms
コンパイル使用メモリ 10,612 KB
実行使用メモリ 39,228 KB
最終ジャッジ日時 2023-09-07 21:13:23
合計ジャッジ時間 6,231 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,928 KB
testcase_01 AC 17 ms
7,876 KB
testcase_02 AC 16 ms
7,968 KB
testcase_03 AC 16 ms
7,916 KB
testcase_04 AC 17 ms
8,044 KB
testcase_05 AC 313 ms
38,144 KB
testcase_06 AC 324 ms
39,228 KB
testcase_07 AC 300 ms
36,812 KB
testcase_08 AC 318 ms
38,060 KB
testcase_09 AC 333 ms
38,012 KB
testcase_10 AC 299 ms
36,752 KB
testcase_11 AC 300 ms
37,568 KB
testcase_12 AC 313 ms
39,128 KB
testcase_13 AC 323 ms
37,996 KB
testcase_14 AC 300 ms
36,680 KB
testcase_15 AC 297 ms
36,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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