結果

問題 No.909 たぴの配置
ユーザー 👑 rin204rin204
提出日時 2022-01-19 00:03:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 162 ms / 3,000 ms
コード長 199 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 109,280 KB
最終ジャッジ日時 2024-05-02 19:38:24
合計ジャッジ時間 5,204 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
51,712 KB
testcase_01 AC 38 ms
51,712 KB
testcase_02 AC 36 ms
51,456 KB
testcase_03 AC 35 ms
51,712 KB
testcase_04 AC 39 ms
51,456 KB
testcase_05 AC 148 ms
108,760 KB
testcase_06 AC 147 ms
108,764 KB
testcase_07 AC 142 ms
105,076 KB
testcase_08 AC 154 ms
108,840 KB
testcase_09 AC 162 ms
109,280 KB
testcase_10 AC 146 ms
105,548 KB
testcase_11 AC 142 ms
105,072 KB
testcase_12 AC 142 ms
108,740 KB
testcase_13 AC 143 ms
109,056 KB
testcase_14 AC 130 ms
105,436 KB
testcase_15 AC 134 ms
105,068 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
X = list(map(int, input().split()))
Y = list(map(int, input().split()))
max_ = min(x + y for x, y in zip(X, Y))

print(max_)
print(0)
for x in X:
    print(min(x, max_))
print(max_)
0