์ซ์ ์นด๋ 2 (1) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [Python] ๋ฐฑ์ค #10816 - ์ซ์ ์นด๋ 2 ๋ฌธ์ https://www.acmicpc.net/problem/10816 10816๋ฒ: ์ซ์ ์นด๋ 2 ์ฒซ์งธ ์ค์ ์๊ทผ์ด๊ฐ ๊ฐ์ง๊ณ ์๋ ์ซ์ ์นด๋์ ๊ฐ์ N(1 ≤ N ≤ 500,000)์ด ์ฃผ์ด์ง๋ค. ๋์งธ ์ค์๋ ์ซ์ ์นด๋์ ์ ํ์๋ ์ ์๊ฐ ์ฃผ์ด์ง๋ค. ์ซ์ ์นด๋์ ์ ํ์๋ ์๋ -10,000,000๋ณด๋ค ํฌ๊ฑฐ๋ ๊ฐ๊ณ , 10, www.acmicpc.net ํ์ด import sys input = sys.stdin.readline n = int(input()) arr1 = list(map(int, input().split())) m = int(input()) arr2 = list(map(int, input().split())) arr1.sort() def upper_bound(x): # ํ๊ฒ๋ณด๋ค ํฐ ๊ฐ์ด ๋์ค๋ .. ์ด์ 1 ๋ค์