結果
問題 |
No.909 たぴの配置
|
ユーザー |
![]() |
提出日時 | 2019-11-02 12:39:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 360 ms / 3,000 ms |
コード長 | 358 bytes |
コンパイル時間 | 329 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 38,600 KB |
最終ジャッジ日時 | 2024-09-14 23:09:06 |
合計ジャッジ時間 | 6,677 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
import sys sys.setrecursionlimit(10 ** 6) input = sys.stdin.readline int1 = lambda x: int(x) - 1 def main(): n = int(input()) xx = list(map(int, input().split())) yy = list(map(int, input().split())) d = min(x + y for x, y in zip(xx, yy)) print(d) print(0) for x, y in zip(xx, yy): print(min(x, d)) print(d) main()