profile
๐Ÿ’ญ(๏ฝกโ€ขฬ€แด—-)โœง
post-thumbnail

baekjoon 18870

https://www.acmicpc.net/problem/18870์šฐ์„  ์ขŒํ‘œ์••์ถ•์ด๋ž€ ๋ง์„ ์ œ๋Œ€๋กœ ์ดํ•ดํ•ด์•ผ ํ•œ๋‹ค. ์ฐธ๊ณ  : https://medium.com/algorithms-digest/coordinate-compression-2fff95326fb๋Œ€

2022๋…„ 7์›” 19์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 10814

https://www.acmicpc.net/problem/10814๊ฐ€์ž…ํ•œ ์ˆœ์„œ๋Œ€๋กœ ์ˆซ์ž๋ฅผ ์ž…๋ ฅํ•ด์ฃผ๊ณ  ๋น„๊ตํ•˜๋ฉฐ qsort๋ฅผ ์จ์ฃผ๋ฉด ๋จ.qsort์งฑ์งฑ๋งจtypedef struct \_Person { char name101; int idx; int age;}Perso

2022๋…„ 7์›” 19์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 1181

https://www.acmicpc.net/problem/1181,,typedef struct \_Arr { char str51; int len;}Arr;int compare(const void a, const void b);int main(void) { in

2022๋…„ 7์›” 19์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 11650

https://www.acmicpc.net/problem/116502์ฐจ์› ๋ฐฐ์—ด์€ qsort๋ฅผ ๋ชป ์“ฐ๋Š” ์ค„ ์•Œ๊ณ  ํ˜ผ์ž ๋ฒ„๋ธ”์ •๋ ฌ, ์„ ํƒ์ •๋ ฌ ๋“ฑ ์ด๊ฒƒ์ €๊ฒƒ ๋‹ค ํ•ด๋ดค๋‹ค.์ˆ˜๋งŽ์€ ์‹คํŒจ์˜ ํ”์ ๋“ค ใ…‹ใ…‹2์ฐจ์› ๋ฐฐ์—ด ์ •๋ ฌ ์‹œ๊ฐ„์ดˆ๊ณผ๋ฅผ ๊ตฌ๊ธ€๋ง ํ•ด ๋ณด๋‹ค๊ฐ€ ๊ตฌ์กฐ์ฒด๋ฅผ ์จ์„œ ์ •๋ ฌ์„ ํ•˜๋ผ๋„ค?

2022๋…„ 7์›” 16์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 1427

https://www.acmicpc.net/problem/1427์‹œ๊ฐ„์ด ๋ฌด๋ ค 0ms ๋ฏธ๋งŒ์œผ๋กœ ๋‚˜์˜จ ๊น”๋”ํ•œ ๋ฌธ์ œ. Counting Sort ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์‚ฌ์šฉํ–ˆ๋‹ค. ํ•œ ๋ฒˆ ๋ฐฐ์›Œ๋†“์œผ๋‹ˆ ์œ ์šฉํ•˜๊ฒŒ ์ž˜ ์“ฐ์ด๋Š” ์ •๋ ฌ ์•Œ๊ณ ๋ฆฌ์ฆ˜์ธ ๊ฒƒ ๊ฐ™๋‹ค^^\*int main(void) { i

2022๋…„ 7์›” 15์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 2108

https://www.acmicpc.net/problem/2108์šฐ์„  qsort๋กœ ์ •๋ ฌ ํ›„ ์‚ฐ์ˆ ํ‰๊ท , ์ค‘์•™๊ฐ’, ์ตœ๋นˆ๊ฐ’, ๋ฒ”์œ„์˜ ์‚ฌ์šฉ์ž์ง€์ • ํ•จ์ˆ˜๋ฅผ ๊ฐ๊ฐ ๋งŒ๋“ค์—ˆ๋‹ค. ๋‹ค๋ฅธ ๊ฑด ์‰ฌ์› ๋Š”๋ฐ ์ตœ๋นˆ๊ฐ’ ๋…€์„์ด ๋จธ๋ฆฌ๋ฅผ ์•„ํ”„๊ฒŒ ํ–ˆ๋‹ค.์กฐ๊ฑด์ด ์ข€ ๊นŒ๋‹ค๋กœ์› ๋Š”๋ฐ ์—ฌ๋Ÿฌ ๊ฐœ ์žˆ์„ ๊ฒฝ์šฐ ์ตœ๋นˆ

2022๋…„ 7์›” 15์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 10989

https://www.acmicpc.net/problem/10989์ฒ˜์Œ์—” ๊ทธ๋ƒฅ ์ ค ๋น ๋ฅธ Quick Sort์“ฐ๋ฉด ๋˜๋Š” ๊ฑฐ ์•„๋‹˜? ํ•˜๊ณ  ์ œ์ถœํ–ˆ๋Š”๋ฐ ๋ฉ”๋ชจ๋ฆฌ ์ดˆ๊ณผ ใ…‹ใ…‹๋‚ด ์ฝ”๋”ฉ ์„ธ๊ณ„์—์„œ ์ œ์ผ ํšจ์œจ ์ข‹๊ณ  ๋น ๋ฅด๋‹ค๊ณ  ์ƒ๊ฐ๋˜๋˜ Quick Sort ์•Œ๊ณ ๋ฆฌ์ฆ˜์ด ๋˜ ์‹คํŒจํ–ˆ๋‹ค.c์–ธ์–ด

2022๋…„ 7์›” 13์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 2751

https://www.acmicpc.net/problem/2751์›๋ž˜ ์ •๋ ฌ์€Quick Sort ๋ฅผ ์ง์ ‘ ๊ตฌํ˜„ํ•ด์„œ ์‚ฌ์šฉํ–ˆ์ง€๋งŒ ์ž๊พธ ์‹œ๊ฐ„ ์ดˆ๊ณผ๊ฐ€ ๋‚˜์™”๋‹ค..๋‚ด ์ฝ”๋“œ์— ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š”์ง€ ์–ธ์–ด์˜ ํ•œ๊ณ„์ธ์ง€ ๋ญ๊ฐ€ ๋ฌธ์ œ์ธ์ง€ ๋ชฐ๋ผ ์ด๊ฒƒ์ €๊ฒƒ ๋‹ค ํ•ด๋ดค๋‹ค.๋‹ค๋ฅธ ์‚ฌ๋žŒ์˜ ํ€ต ์ •๋ ฌ ์ฝ”๋“œ๋ฅผ

2022๋…„ 6์›” 30์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

baekjoon 2750

https://www.acmicpc.net/problem/2750https://www.geeksforgeeks.org/bubble-sort/Bubble Sort ๊ตฌํ˜„

2022๋…„ 6์›” 27์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท