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

baekjoon 1436

https://www.acmicpc.net/problem/1436๋ธŒ๋ฃจํŠธํฌ์Šค ์‹ซ์–ด...int main(void) { int N, cnt = 0; int result = 665;}

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

baekjoon 7568

https://www.acmicpc.net/problem/7568์ „์ฒด ์ง‘๋‹จ ์‚ฌ๋žŒ๋“ค์˜ ์ˆœ์œ„๋ฅผ 1๋กœ ์ดˆ๊ธฐํ™” ์‹œ์ผœ์ฃผ๊ณ , ๋งŒ์•ฝ ๋‚˜๋ณด๋‹ค ๋ฉ์น˜๊ฐ€ ํฐ ์‚ฌ๋žŒ์ด ์žˆ์œผ๋ฉด ์ˆœ์œ„๋ฅผ 1๋งŒํผ ์˜ฌ๋ ค์ฃผ๋Š” ๋ฐฉ์‹์œผ๋กœ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ๋‹ค.๋ฉ์น˜๊ฐ€ ํฐ ์‚ฌ๋žŒ์ด๋ผ๊ณ  ํ•˜๋ฉด X๊ฐ’๊ณผ Y๊ฐ’์ด ๋‚˜๋ณด๋‹ค ํฐ ์‚ฌ๋žŒ์„

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

baekjoon 2231

https://www.acmicpc.net/problem/2231๊ทธ๋ƒฅ ๋ญ.. ๋ธŒ๋ฃจํŠธ ํฌ์Šค ๋‹ต๊ฒŒ ๋•Œ๋ ค๋„ฃ๊ณ  ํ’€์—ˆ๋‹ค. ๋ฐ˜๋ณต๋ฌธ ์‹œ์ž‘ ์กฐ๊ฑด์„ N / 2๋กœ ํ•จ์œผ๋กœ์จ ์กฐ๊ธˆ์ด๋ผ๋„ ๋ณต์žกํ•จ์„ ์ค„์—ฌ์คฌ๋‹ค.int main(void) { int N, X = 0; int result =

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

baekjoon 2798

https://www.acmicpc.net/problem/2798์ •๋ง ๋ฌด์‹ํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜..... ๋ชจ๋“  ๊ฒฝ์šฐ์˜ ์ˆ˜๋ฅผ ๋‹ค ์ƒ๊ฐํ•ด์„œ ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜๊ณ  ์ถœ๋ ฅํ•˜๋ฉด ๋œ๋‹คint main(void) { int arr100 = { 0, }; int N, M, result = 0;

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

baekjoon 11729

https://www.acmicpc.net/problem/117291๋ฒˆ ๊ธฐ๋‘ฅ์„ ์ถœ๋ฐœ 2๋ฒˆ ๊ธฐ๋‘ฅ์„ ๋ณด์กฐ 3๋ฒˆ ๊ธฐ๋‘ฅ์„ ๋„์ฐฉ ๊ธฐ๋‘ฅ์ด๋ผ๊ณ  ์ƒ๊ฐํ•˜์ž.๊ทธ๋Ÿผ ํ•˜๋…ธ์ด ํƒ‘ ํ•จ์ˆ˜์˜ ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹คN์ด 3์ธ ๊ฒฝ์šฐ๋ฅผ ์˜ˆ์‹œ๋กœ ์ƒ๊ฐํ•ด๋ณด์ž. ์›ํŒ์€ ์ด 3๊ฐœ์ด๊ณ  ์ถœ๋ฐœ ๊ธฐ๋‘ฅ์—์„œ ๋„์ฐฉ ๊ธฐ

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

baekjoon 2447

https://www.acmicpc.net/problem/24473์˜ ๊ฑฐ๋“ญ์ œ๊ณฑ์ธ ๊ฐ’(3, 9, 27 ...)์„ ์ž…๋ ฅ๋ฐ›๋Š”๋ฐ, 3์„ ์ž…๋ ฅ๋ฐ›๋Š” ๊ฒฝ์šฐ 3x3์ธ ์ •์‚ฌ๊ฐํ˜• ๋ณ„์ด ๊ทธ๋ ค์ง€๊ณ  9์ธ ๊ฒฝ์šฐ 9x9, 27์ธ ๊ฒฝ์šฐ 27x27์˜ ์ •์‚ฌ๊ฐํ˜•์ด ๊ทธ๋ ค์ง„๋‹ค. ์ถœ๋ ฅ๊ฐ’์—๋Š” ๋ณ„๊ณผ ๊ณต

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

baekjoon 1316

https://www.acmicpc.net/problem/1316int main(void) { char arr101 = { NULL, };}

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

baekjoon 2941

https://www.acmicpc.net/problem/2941

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

baekjoon 1065

https://www.acmicpc.net/problem/10651~99๊นŒ์ง€๋Š” ๋ชจ๋‘ ํ•œ์ˆ˜์ด๊ธฐ ๋•Œ๋ฌธ์— ์ œ์™ธํ•˜๊ณ , 100~1000๊นŒ์ง€๋Š” ๋ฐฑ์˜ ์ž๋ฆฌ - ์‹ญ์˜ ์ž๋ฆฌ , ์‹ญ์˜ ์ž๋ฆฌ - ์ผ์˜ ์ž๋ฆฌ ๊ฐ€ ๊ฐ™์„ ๊ฒฝ์šฐ ํ•œ์ˆ˜๋ผ๊ณ  ํŒ๋‹จํ–ˆ๋‹ค.int getResult(int n);in

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

baekjoon 4673

https://www.acmicpc.net/problem/4673์…€ํ”„๋„˜๋ฒ„๋Š” ์†Œ์ˆ˜๊ฐ€ ์•„๋‹Œ ์ˆ˜๋ž‘ ๊ฐœ๋…์ด ๋น„์Šทํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•œ๋‹ค. ์†”์งํžˆ ๋ฌด์Šจ ์†Œ๋ฆฐ์ง€ ๋ชฐ๋ผ์„œ ์ฐพ์•„๋ณด๊ณ  ํ•œ์ฐธ๋งŒ์— ์ดํ•ดํ–ˆ๋‹ค . .arr ๋ฐฐ์—ด์„ ๋ชจ๋‘ 0์œผ๋กœ ์ดˆ๊ธฐํ™” ์‹œ์ผœ์ค€๋‹ค.1๋ถ€ํ„ฐ 10000๊นŒ์ง€ ์ฆ๊ฐ€ํ•˜๋Š” ๋ฐ˜๋ณต๋ฌธ

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

baekjoon 15596

https://www.acmicpc.net/problem/15596๋‹ค๋ฅธ ํ•จ์ˆ˜๋Š” ๊ท€์ฐฎ์•„์„œ ์•ˆ ํ–ˆ๊ณ  ์›๋ž˜ ์“ฐ๋˜ C๋กœ ํ–ˆ๋‹ค.์ฒ˜์Œ์—๋Š” ํ•จ์ˆ˜๋งŒ ๊ตฌํ˜„ํ•˜๋ฉด ๋˜๋Š” ๋ฌธ์ œ์ธ์ง€ ๋ชฐ๋ž๊ณ  ํ˜ผ์ž mainํ•จ์ˆ˜๋„ ๋”ฐ๋กœ ๊ตฌํ˜„ํ•˜๋ฉด์„œ ๋ป˜์ง“ํ–ˆ์ง€๋งŒ ๋‚ด ์ œ์ถœ์ด ํ‹€๋ ธ๋Œ€.. ๊ทธ๋ž˜์„œ ๊ตฌ๊ธ€์— ์ฐพ์•„๋ณด๋‹ˆ ํ•จ์ˆ˜

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

baekjoon 1110

https://www.acmicpc.net/problem/1110๋‚˜๋ˆ„๊ธฐ ์—ฐ์‚ฐ๊ณผ ๋‚˜๋จธ์ง€ ์—ฐ์‚ฐ์„ ์ž˜ ์ด์šฉํ•ฉ์‹œ๋‹คint main(void) { int n, count = 0, temp = 0; int units = 0, tens = 0;}

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

baekjoon 9020

https://www.acmicpc.net/problem/9020์šฐ์„  ์•ž์— ํ–ˆ๋˜ ๊ฒƒ์ฒ˜๋Ÿผ NL JOIN ์„ ์ด์šฉํ•ด์„œ ์†Œ์ˆ˜๋ฅผ ๊ตฌํ•œ๋‹ค.๊ตฌํ•œ ๋‹ค์Œ ์ž…๋ ฅ๊ฐ’ n / 2 ๋ถ€ํ„ฐ 1์”ฉ ๊ฐ์†Œํ•˜๋Š” ๋ฐ˜๋ณต๋ฌธ์˜ ์กฐ๊ฑด์„ arrj == 0 && arrn - j == 0์ฆ‰, ๊ฐ์†Œํ•œ ๊ฐ’, ์ž…

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

baekjoon 4948

https://www.acmicpc.net/problem/4948์ „์—ญ๊ธฐ๋… ๋ฌธ์ œํ’€์ด ^^์•Œ๊ณ ๋ฆฌ์ฆ˜์€https://velog.io/@p3pwp3p/baekjoon-1929์š”๊ณ ๋ž‘ ๊ฐ™๊ณ  ์กฐ๊ธˆ๋งŒ ์ƒ๊ฐํ•˜๋ฉด ์ฝ”๋“œ๊ฐ€ ๋ฐ”๋กœ ๋‚˜์˜ด.์‰ฌ์šฐ๋‹ˆ ์„ค๋ช… ์ƒ๋žต๊ท€์ฐฎ์•„์„œ ๊ทธ๋Ÿฌ๋Š” ๊ฑฐ ์•„๋‹˜

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

baekjoon 1929

https://www.acmicpc.net/problem/1929์ฒ˜์Œ์—” ์ด์ „์— ํ•˜๋˜ ๋ฐฉ์‹์œผ๋กœ ๋šž๋”ฑ ํ•˜๊ณ  ์ œ์ถœํ–ˆ๋Š”๋ฐ ?ใ…‹ใ…‹ ๋ญ”๊ฐ€ ๋ฌธ์ œ๊ฐ€ ์žˆ์–ด๋ณด์ธ๋‹ค. ์ฝ”๋“œ๋ฅผ ๋ณด๋ฉด๋‹น์—ฐํžˆ ์˜ค๋ฅ˜๊ฐ€ ์ƒ๊ธธ ๋งŒํ•˜๋‹ค. ์‹œ๊ฐ„์ œํ•œ์ด 2์ดˆ๋กœ ๊ฑธ๋ ค์žˆ๋Š” ๋ฌธ์ œ์—์„œ ์‹œ๊ฐ„๋ณต์žก๋„๋ฅผ ์ค„์ด๋Š” ๊ฒƒ์€ ๊ต‰์žฅํžˆ ์ค‘์š”ํ•˜

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

baekjoon 11653

https://www.acmicpc.net/problem/11653์—„.. ๊ทธ๋ƒฅ ํ•˜๋‹ˆ๊นŒ ๋˜๋˜๋ฐ์š”....i๋ฅผ 2๋ถ€ํ„ฐ ์ฆ๊ฐ€์‹œ์ผœ์„œ ๋‚˜๋จธ์ง€๊ฐ€ 0์ด ๋˜๋ฉด i๋กœ ์ž…๋ ฅ๊ฐ’์„ ๋‚˜๋ˆ„๊ณ  ๊ทธ ๋ชซ์„ ๋‹ค์‹œ ๋‚˜๋ˆ„๊ธฐ๋ฅผ ๋ฐ˜๋ณตํ•˜๋ฉด ๋œ๋‹ค.

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

baekjoon 2581

https://www.acmicpc.net/problem/2581int main(void) { int m, n, min = 10001, st = 0; int flag = 0;}

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

baekjoon 1978

https://www.acmicpc.net/problem/1978 > ## Idea ์†Œ์ˆ˜๋Š” 1๋ณด๋‹ค ํฐ ์ž์—ฐ์ˆ˜ ์ค‘ 1๊ณผ ์ž๊ธฐ ์ž์‹ ๋งŒ์„ ์•ฝ์ˆ˜๋กœ ๊ฐ€์ง€๋Š” ์ˆ˜๋‹ค. 1๋ถ€ํ„ฐ ์ž…๋ ฅ๋œ ๊ฐ’๊นŒ์ง€ ๋ฐ˜๋ณต๋ฌธ์„ ๋Œ๋ฆฌ๋ฉด์„œ ์ž…๋ ฅ๊ฐ’๊ณผ i๊ฐ’์„ ๋‚˜๋ˆ„์–ด ๋‚˜๋จธ์ง€๊ฐ€ 0์ด ๋œ๋‹ค๋ฉด ๊ทธ ์ˆ˜๋Š” ์†Œ์ˆ˜๊ฐ€ ์•„๋‹ˆ๋‹ค. ๋ฐ˜

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

baekjoon 2775

https://www.acmicpc.net/problem/2775 > ## Idea ๋„ˆ๋ฌด ์‰ฌ์›Œ์„œ ์•„๋ฌด์ƒ๊ฐ ์—†์ด ํ’ˆ. .. > ## Code ใ…‹

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

baekjoon 10757

https://www.acmicpc.net/problem/10757 > ## Idea ์ด ๋ฌธ์ œ๋Š” ์–ธ์–ด๋นจ์ด ๋งŽ์ด ํƒ€๋Š” ๋“ฏ ํ•˜๋‹ค. ํŠธ๋ Œ๋””ํ•œ ์–ธ์–ด๋ฅผ ์จ์•ผํ•˜๋Š” ์ด์œ .... ๋‹น์—ฐํžˆ ์ •์ˆ˜ ์ž๋ฃŒํ˜•์œผ๋กœ๋Š” ์—๋Ÿฌ๊ฐ€ ๋œฌ๋‹ค. ๊ทธ๋Ÿฌ๋ฉด ๋ฌธ์ž์—ด์„ ์“ฐ๋ฉด? ๋ฌธ์ž์—ด์„ ์ด์šฉํ•ด์„œ ์ˆ˜๋ฅผ ๊ณ„์‚ฐํ•˜๋Š” ๋ฌธ์ œ์—๋Š” ํ•ญ์ƒ ์•„์Šคํ‚ค ์ฝ”๋“œ๊ฐ€ ๋”ฐ๋ผ์˜จ๋‹ค. https://www.ascii-code.com/ ์ˆœ์„œ...

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