結果

問題 No.909 たぴの配置
ユーザー Omura ShunsukeOmura Shunsuke
提出日時 2020-05-01 10:18:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 178 ms / 3,000 ms
コード長 230 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 87,184 KB
実行使用メモリ 110,412 KB
最終ジャッジ日時 2023-08-25 01:06:48
合計ジャッジ時間 6,736 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,288 KB
testcase_01 AC 70 ms
71,164 KB
testcase_02 AC 71 ms
71,196 KB
testcase_03 AC 70 ms
71,216 KB
testcase_04 AC 70 ms
71,208 KB
testcase_05 AC 168 ms
110,204 KB
testcase_06 AC 170 ms
110,204 KB
testcase_07 AC 160 ms
106,908 KB
testcase_08 AC 175 ms
110,044 KB
testcase_09 AC 178 ms
110,412 KB
testcase_10 AC 166 ms
107,216 KB
testcase_11 AC 166 ms
107,764 KB
testcase_12 AC 167 ms
110,268 KB
testcase_13 AC 172 ms
110,396 KB
testcase_14 AC 159 ms
106,924 KB
testcase_15 AC 158 ms
106,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
X=list(map(int,input().split()))
Y=list(map(int,input().split()))

Max=10**9
for i in range(N):
    if X[i]+Y[i]<Max:
        Max=X[i]+Y[i]

print(Max)
print(0)
for i in range(N):
    print(min(X[i],Max))
print(Max)
0