๋ฐ์ํ 188771 BOJ 18877 ) Social Distancing (C++) 18877๋ฒ: Social Distancing The first line of input contains $N$ and $M$. The next $M$ lines each describe an interval in terms of two integers $a$ and $b$, where $0 \leq a \leq b \leq 10^{18}$. No two intervals overlap or touch at their endpoints. A cow standing on the endpoint of a www.acmicpc.net ์๋์ ์ขํ๊ฐ ํฌ๊ธฐ๋๋ฌธ์ ์ด์งํ์์ ์ด์ฉํด์ ํด๊ฒฐํ๋ค. ์๋๊ตฌ๊ฐ์ด ์ค๋ฆ์ฐจ์์ผ๋ก ๋ค์ด์ค์ง์๊ธฐ ๋๋ฌธ์ ์ ๋ ฌ์ด ํ์ํ๋ค. high๋ ๊ฐ์ฅ ๋ง์ง๋ง ์๋๊ตฌ๊ฐ์ ์ขํ๊น์ง๊ฐ ๋ชจ๋ ์๋๊ตฌ๊ฐ์ด๋ผ.. 2022. 6. 10. ์ด์ 1 ๋ค์ ๋ฐ์ํ