
๋ฐฑ์ค 18870๋ฒ ๋ฌธ์ ์ ๋๋ค Xi > Xj ๋ฅผ ๋ง์กฑํ๋๋ก ์ขํ๋ฅผ ์์ถ์ํค๋ผ๊ณ ํฉ๋๋ค. ๋ฌธ์ ๋ง๋ด์๋ ์ดํด๊ฐ ์ ์๊ฐ๋๋ฐ ์ ์ถ๋ ฅ์ ๋ณด์๋ฉด ์ดํด๊ฐ ์ ๊ฐ์ค๊ฒ๋๋ค 2 4 -10 4 -9 ์ขํ๋ 2 3 0 3 1 ์ขํ๋ก ์์ถํ ์ ์๋ค๊ณ ํฉ๋๋ค ------------------------------------------------------------------------------- ํ์ด ์ ๋๋ค. ๋ฐฐ์ด [-10, -9, 2, 4, 4] ์ด ์๋ค๊ณ ํ๋ฉด 2 4 -10 4 -9 ์ ์์ถ๋ ์ขํ๋ ๋ฐฐ์ด์ index๊ฐ์ด๋ผ๊ณ ๋ณผ ์ ์์ ๊ฒ ๊ฐ์์. ๊ทธ๋์ 1. ์ ๋ ฅ๋ฐ์ ๋ฐฐ์ด ์ ๋ ฌ 2. ์ค๋ณต ์ ๊ฑฐ 3. ์ ๋ ฅ๋ฐ์ ๋ฐฐ์ด ์์๋๋ก ์ ๋ ฌ๋ ๋ฐฐ์ด์ index ์ถ๋ ฅ ์ ๋๋ค. import sys N = int(input()) inp..
algorithm
2023. 5. 5. 03:32
๊ณต์ง์ฌํญ
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
- Total
- Today
- Yesterday
๋งํฌ
TAG
- swift excel read
- swift filemanager excel
- swift urlsession module
- swift ์๊ฐ
- swift ์์ ์ฝ๊ธฐ
- ๋ ๋์ธ์ด
- chatgpt rag llm
- swift urlsession refactoring
- rag ๊ธฐ๋ฐ llm ์ฑ๋ด
- swift network ๊ณตํตํ
- swift ์์ ๊ฐ์ ธ์ค๊ธฐ
- ์๋์ํํธ ๋ ์ด์ธ์ด
- ๋ ๋์ธ์ด ์ดํ
- filemanager excel read
- swift urlcomponent encode
- swift network refactoring
- llm pdf rag
- swift network module
- rag llm pdf
- swift urlsession network module
- readysay
- swift ๋คํธ์ํฌ ๋ชจ๋ํ
- ๊ณต๋ถ ํ์ด๋จธ ์ดํ
- swift filemanager get excel
- focus timer ์ดํ
- swift queryitem encode
- swift get excel
- swift urlsession ๊ณตํตํ
- llm csv
- rag ๊ธฐ๋ฐ llm
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 | 29 | 30 |
๊ธ ๋ณด๊ดํจ