結果

問題 No.909 たぴの配置
ユーザー 👑 timitimi
提出日時 2021-01-06 10:40:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 472 ms / 3,000 ms
コード長 197 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 39,704 KB
最終ジャッジ日時 2024-04-24 11:58:08
合計ジャッジ時間 7,741 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,496 KB
testcase_01 AC 26 ms
10,624 KB
testcase_02 AC 27 ms
10,624 KB
testcase_03 AC 28 ms
10,496 KB
testcase_04 AC 25 ms
10,496 KB
testcase_05 AC 429 ms
36,308 KB
testcase_06 AC 434 ms
39,704 KB
testcase_07 AC 409 ms
36,152 KB
testcase_08 AC 428 ms
37,604 KB
testcase_09 AC 472 ms
38,532 KB
testcase_10 AC 413 ms
36,272 KB
testcase_11 AC 394 ms
35,976 KB
testcase_12 AC 421 ms
38,328 KB
testcase_13 AC 430 ms
38,504 KB
testcase_14 AC 420 ms
36,276 KB
testcase_15 AC 412 ms
36,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int, input().split()))
B=list(map(int, input().split()))
d=10**7
for i in range(N):
  d=min(d,A[i]+B[i])
print(d)
print(0)
for i in range(N):
  print(min(d,A[i]))
print(d)
0