
https://www.acmicpc.net/problem/1931 ๋ฌธ์ ์ ๋๋ค ํ๊ฐ์ ํ์์ค์ ์ต๋ค ํ์๊ฐ ์งํ๋๋๋ก ์๊ฐํ๋ฅผ ์์ฑํ๋ผ๊ณ ํฉ๋๋ค.์ถ๊ฐ๋ก ์์์๊ฐ๊ณผ ๋์๊ฐ์ด ๊ฐ์ ์๋ ์๋ค๊ณ ํฉ๋๋ค. ์ ์ถ๋ ฅ ์กฐ๊ฑด๊ณผ ํํธ๋ ์ด๋ฌํฉ๋๋ค. ํ์๋ฅผ ์ต๋ํ ๋ง์ด ์งํํ๊ธฐ์ํด์๋ 1. ์ผ์ฐ ๋๋๋ ์์ผ๋ก ๋จผ์ ํ์๋ฅผ ์ ๋ ฌํ๊ณ 2. ์ฒซ๋ฒ์งธ(n)ํ์ ๋๋๋ ์๊ฐ ์ด๋ ๊ฒ ์ ๊ทผํ์์ต๋๋ค ๊ทธ๋์ ์ ๋ ฌํ ๋ฐฐ์ด์ ํฌ๋ฌธ์ผ๋ก ๋๋๋ฐ2๋ฒ์กฐ๊ฑด์ ํด๋นํ๋ฉด countํ๋๋ก ํ์์ต๋๋ค. import sysn = int(input())endPoint: int = 0answer: int = 0arr = []for i in range(0,n): a, b = map(int,sys.stdin.readline().rstrip..
algorithm
2023. 4. 20. 01:05
๊ณต์ง์ฌํญ
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
- Total
- Today
- Yesterday
๋งํฌ
TAG
- swift urlsession module
- swift ์๊ฐ
- swift filemanager get excel
- swift urlcomponent encode
- swift get excel
- rag ๊ธฐ๋ฐ llm ์ฑ๋ด
- swift urlsession refactoring
- readysay
- rag ๊ธฐ๋ฐ llm
- ์๋์ํํธ ๋ ์ด์ธ์ด
- ๋ ๋์ธ์ด
- llm csv
- swift excel read
- chatgpt rag llm
- filemanager excel read
- swift filemanager excel
- swift network ๊ณตํตํ
- llm pdf rag
- rag llm pdf
- swift ์์ ๊ฐ์ ธ์ค๊ธฐ
- ๊ณต๋ถ ํ์ด๋จธ ์ดํ
- swift urlsession ๊ณตํตํ
- swift queryitem encode
- swift ์์ ์ฝ๊ธฐ
- swift network module
- swift urlsession network module
- swift network refactoring
- ๋ ๋์ธ์ด ์ดํ
- swift ๋คํธ์ํฌ ๋ชจ๋ํ
- focus timer ์ดํ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
๊ธ ๋ณด๊ดํจ