結果

問題 No.909 たぴの配置
ユーザー tomatoma
提出日時 2019-10-18 21:32:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 335 ms / 3,000 ms
コード長 193 bytes
コンパイル時間 543 ms
コンパイル使用メモリ 10,576 KB
実行使用メモリ 40,248 KB
最終ジャッジ日時 2023-09-07 21:25:39
合計ジャッジ時間 6,470 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,968 KB
testcase_01 AC 15 ms
7,808 KB
testcase_02 AC 16 ms
7,844 KB
testcase_03 AC 16 ms
7,832 KB
testcase_04 AC 16 ms
7,936 KB
testcase_05 AC 321 ms
37,924 KB
testcase_06 AC 327 ms
39,256 KB
testcase_07 AC 305 ms
37,864 KB
testcase_08 AC 322 ms
38,024 KB
testcase_09 AC 335 ms
40,248 KB
testcase_10 AC 304 ms
36,520 KB
testcase_11 AC 307 ms
37,388 KB
testcase_12 AC 321 ms
39,228 KB
testcase_13 AC 332 ms
37,920 KB
testcase_14 AC 309 ms
37,688 KB
testcase_15 AC 300 ms
36,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
X=[int(i) for i in input().split()]
Y=[int(i) for i in input().split()]

res = min([X[i]+Y[i] for i in range(N)])
print(res)
print(0)
for x in X:
    print(min(x,res))
print(res)
0