Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- ์ฌ์ฉ์ฑ ๊ฐ์
- ์ค์ฝํ
- ์นด์นด์ค ์ฝํ
- suspense react-query
- suspense ๋์์๋ฆฌ
- ๋ฐฑ์ค 1339๋ฒ nodejs
- ์ต์ ๋์ฒด์ด๋
- js ๋ฌธ์์ด ์์ถ
- ๋ฆฌ์กํธ์ฟผ๋ฆฌ suspense
- ํ๋ก๊ทธ๋๋จธ์ค ๊ฑฐ๋ฆฌ๋๊ธฐ ํ์ธํ๊ธฐ
- ๋ฐฑ์ค 2108 ์๋ฐ์คํฌ๋ฆฝํธ
- js
- ๊ตฌ๋ฆํค
- emtion app router
- ์๋ฐ์คํฌ๋ฆฝํธ ๋ฌธ์์ด ์์ถ
- app router emotion
- ๊ตฌ๋ฆํค ์ฑ๋ฆฐ์ง ํ๊ณ
- suspense ๋น๋๊ธฐ
- TypeError: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more:
- next13 emotion
- ์๋ฐ์คํฌ๋ฆฝํธ ์ค์ฝํ
- ๋ฐฑ์ค 1339๋ฒ js
- ๊ตฌ๋ฆํค ์ฑ๋ฆฐ์ง
- js ์ค์ฝํ
- emotion RSC
- ํ๋ก๊ทธ๋๋จธ์ค ๋ฌธ์์ด ์์ถ
- suspense ๋ณ๋ชฉํ์
- js ๊ฑฐ๋ฆฌ๋๊ธฐ ํ์ธํ๊ธฐ
- ๋ฐฑ์ค 1339๋ฒ ์๋ฐ์คํฌ๋ฆฝํธ
- ๋ฐฑ์ค 2108 nodejs
Archives
- Today
- Total
Lennon FE
[๋ฐฑ์ค 1789๋ฒ] ์๋ค์ ํฉ - ์๋ฐ์คํฌ๋ฆฝํธ(nodejs) ๋ณธ๋ฌธ
๐ฅ Algorithm/Baekjoon
[๋ฐฑ์ค 1789๋ฒ] ์๋ค์ ํฉ - ์๋ฐ์คํฌ๋ฆฝํธ(nodejs)
Lennon 2022. 3. 14. 21:19728x90
๋ฐ์ํ
https://www.acmicpc.net/problem/1789
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
});
let input;
rl.on('line', function (line) {
input = +line;
rl.close();
}).on('close', function () {
let count = 0;
let i = 1;
while (count <= input) {
count += i;
i++;
}
console.log(i - 2);
});
๊ทธ๋ฆฌ๋๋ผ ์๊ฐํ๊ธฐ ๋๋ฆ๋๋ก ํ ์ ์์ ๊ฒ ๊ฐ๋ค.
๊ทธ๋ฅ ๋ฌธ์ ๋ง ๋ณด๋ฉด ์ด๋ป๊ฒ ํ์ด์ผํ ์ง ๋ง๋งํ ์ ์์ง๋ง, ์๊ฐํด๋ณด๋ฉด ์์ฒญ ๊ฐ๋จํ๊ฒ ํ ์ ์๋ ๋ฌธ์ ์ด๋ค.
728x90
๋ฐ์ํ
'๐ฅ Algorithm > Baekjoon' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค 1260๋ฒ] DFS์ BFS - ์๋ฐ์คํฌ๋ฆฝํธ(nodejs) (0) | 2022.03.18 |
---|---|
[๋ฐฑ์ค 17144๋ฒ] ๋ฏธ์ธ๋จผ์ง ์๋ ! - ์๋ฐ์คํฌ๋ฆฝํธ(nodejs) (0) | 2022.03.16 |
[๋ฐฑ์ค 1932๋ฒ] ์ ์ ์ผ๊ฐํ - ์๋ฐ์คํฌ๋ฆฝํธ(nodejs) (0) | 2022.03.11 |
[๋ฐฑ์ค 9095๋ฒ] 1, 2, 3 ๋ํ๊ธฐ - ์๋ฐ์คํฌ๋ฆฝํธ(nodejs) (0) | 2022.03.11 |
[๋ฐฑ์ค 2579๋ฒ] ๊ณ๋จ์ค๋ฅด๊ธฐ - ์๋ฐ์คํฌ๋ฆฝํธ(nodejs) (0) | 2022.03.11 |
Comments