์ „์ฒด ๊ธ€ 140

[Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ <icon>

์œ„ ์˜ˆ์‹œ ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.๐Ÿ˜‰ import "./styles.css"; import React from "react"; import { AccessAlarm, Face } from "@mui/icons-material"; export default function App() { return ( ); } ํ”„๋กœ์ ํŠธ์—์„œ ์•„์ด์ฝ˜ ์‚ฌ์šฉ์€ ๊ฑฐ์˜ ํ•„์ˆ˜์ ์ด์ฃ ! https://mui.com/material-ui/icons/ React Icon Component - Material UI Guidance and suggestions for using icons with MUI. mui.com 00. Icons https://mui.com/material-ui/material-icons/ Material Icons - Materia..

[Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ <๋ฐ˜์‘ํ˜• size>

๊ฐ„ํŽธํ•˜๊ฒŒ ๋ฐ˜์‘ํ˜• ํฌ๊ธฐ๋ฅผ ์„ค์ •ํ•ด๋ด…์‹œ๋‹ค! ์œ„ ์˜ˆ์‹œ ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค. index.js import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import App from "./App"; import "./styles.css"; import { createGlobalStyle } from "styled-components"; const GlobalStyles = createGlobalStyle` html { font-size: 62.5%; } `; const rootElement = document.getElementById("root"); const root = createRoot(rootElement); root.rend..

[Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ <font>

๋ฉ”ํ…Œ๋ฆฌ์–ผ ๋””์ž์ธ์˜ ๊ธฐ๋ณธ ํฐํŠธ๋Š” Roboto ์ž…๋‹ˆ๋‹ค. ์ด๋Š” ์˜๋ฌธ ์ „์šฉ ํฐํŠธ์ด๊ธฐ ๋•Œ๋ฌธ์—, ๋”ฐ๋กœ ํ•œ๊ตญ์–ด ๊ธฐ๋ณธ ํฐํŠธ๋ฅผ ์ง€์ •ํ•ด์ค˜์•ผ ํ•ฉ๋‹ˆ๋‹ค. https://fonts.google.com/specimen/Roboto Google Fonts: Roboto Roboto has a dual nature. It has a mechanical skeleton and the forms are largely geometric. At the same time, the font features friendly and open curves. While fonts.google.com 00. ํ•œ๊ตญ๊ณ„ Roboto ๊ธฐ๋ณธ ํฐํŠธ https://fonts.google.com/noto/specimen/Noto+Sans+KR Google Fonts:..

[Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ <๊ธฐ๋ณธ theme๋ฅผ ์ปค์Šคํ„ฐ๋งˆ์ด์ง•ํ•˜๊ธฐ>

https://mui.com/material-ui/customization/theming/ Theming - Material UI Customize MUI with your theme. You can change the colors, the typography and much more. mui.com theme๋ฅผ ์ •์˜ํ•˜๋ฉด, ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋งŒ๋“ค ๋•Œ๋งˆ๋‹ค ์ผ์ผ์ด ์ƒ‰์ด๋‚˜ ํฐํŠธ ๋“ฑ์„ ์ง€์ •ํ•ด์ค„ ํ•„์š”์—†์ด ๋ณธ์ธ์ด ์ง€์ •ํ•œ ํ…Œ๋งˆ๋Œ€๋กœ ๋ฐ”๋กœ ์‚ฌ์šฉ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ์ด์šฉํ•ด light, dark๋ชจ๋“œ๋ฅผ ๊ฐ„ํŽธํ•˜๊ฒŒ ์„ค์ •ํ•  ์ˆ˜๋„ ์žˆ๊ณ , ํŽธํ•˜๊ฒŒ ์ผ๊ด€์„ฑ์„ ์ง€ํ‚ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.๐Ÿคฉ๐Ÿคฉ 00. ๋ฉ”ํ…Œ๋ฆฌ์–ผ ๋””์ž์ธ theme ๊ธฐ๋ณธ๊ฐ’ https://mui.com/material-ui/customization/default-theme/ Default theme ..

[Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ <๊ธฐ๋ณธ theme์—์„œ ์ปดํฌ๋„ŒํŠธ ์ปค์Šคํ„ฐ๋งˆ์ด์ง•ํ•˜๊ธฐ>

๊ธฐ๋ณธ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์„ค๋ช…์ž…๋‹ˆ๋‹ค. ๐Ÿ”ฅ https://avoc-o-d.tistory.com/43 [Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ https://mui.com/material-ui/getting-started/overview/ ์ปดํฌ๋„ŒํŠธ๋“ค์€ ์™ผ์ชฝ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ Components์— ์žˆ์Šต๋‹ˆ๋‹ค. ๐ŸŽ† 00. ์ปดํฌ๋„ŒํŠธ ์‚ฌ์šฉํ•˜๊ธฐ ์˜ˆ๋ฅผ ๋“ค์–ด, ๋ฒ„ํŠผ์„ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ์„ ๋•Œ Button ์œผ๋กœ ๋“ค์–ด๊ฐ‘๋‹ˆ๋‹ค. https.. avoc-o-d.tistory.com 00. Styled Component styled ํ•  ์ปดํฌ๋„ŒํŠธ๋ฅผ import ํ•ฉ๋‹ˆ๋‹ค. (์ €๋Š” ์˜ˆ๋ฅผ ๋“ค์–ด ๋ฒ„ํŠผ์„ import ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!) ๊ทธ๋ฆฌ๊ณ  styled๋ฅผ ํ•˜๊ธฐ ์œ„ํ•ด, st..

[Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ <๊ธฐ๋ณธ ์ปดํฌ๋„ŒํŠธ ์‚ฌ์šฉํ•˜๊ธฐ>

https://mui.com/material-ui/getting-started/overview/ ์ปดํฌ๋„ŒํŠธ๋“ค์€ ์™ผ์ชฝ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ Components์— ์žˆ์Šต๋‹ˆ๋‹ค. ๐ŸŽ† 00. ์ปดํฌ๋„ŒํŠธ ์‚ฌ์šฉํ•˜๊ธฐ ์˜ˆ๋ฅผ ๋“ค์–ด, ๋ฒ„ํŠผ์„ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ์„ ๋•Œ Button ์œผ๋กœ ๋“ค์–ด๊ฐ‘๋‹ˆ๋‹ค. https://mui.com/material-ui/react-button/ React Button component - Material UI Buttons allow users to take actions, and make choices, with a single tap. mui.com ๊ฐ ๋ฒ„ํŠผ๋“ค์„ ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š”์ง€์— ๋Œ€ํ•ด ์†Œ๊ฐœ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ํ˜„์žฌ๋Š” ํ•ต์‹ฌ์ ์ธ ๋ถ€๋ถ„๋งŒ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ฝ”๋“œ๋กœ ๋ณด์—ฌ์ฃผ๊ณ  ์žˆ์ง€๋งŒ, ๋” ์ž์„ธํ•˜๊ฒŒ ๋ณด๊ธฐ ์œ„ํ•ด์„  ํ•ด๋‹น (Show the..

[Material Design] Material-UI(MUI)๋กœ react & styled component ์‚ฌ์šฉํ•˜๊ธฐ <MUI์†Œ๊ฐœ & npm ์„ค์น˜>

- ๋ณธ ๋ฉ”ํ…Œ๋ฆฌ์–ผ ๋””์ž์ธ ์†Œ๊ฐœ๋Š” Material Design 2 ๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ž‘์„ฑํ–ˆ์Šต๋‹ˆ๋‹ค. ๐Ÿ˜„ (3์€ web ๋ฆด๋ฆฌ์ฆˆ ๊ฐœ๋ฐœ ์ง„ํ–‰ ์ค‘์ด๋ผ์„œ!) https://material.io/ Material Design Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences. material.io 00. Material-UI(MUI) ๋ž€? https://mui.com/ MUI: The React component library you always wanted MUI provides a s..

20220909 - ์ถ”์„๐Ÿ…

2022๋…„์€ ์ถ”์„์ด 9์›” 9,10,11 ์ธ ๋•๋ถ„์— 9์ผ ~ 12์ผ ๋™์•ˆ์˜ ๊ธด ์—ฐํœด๊ฐ€ ์ƒ๊ฒจ๋”ฐ ์ด ์ค‘ 9์ผ๋‚ , ๋ฐ”๋กœ ์˜ค๋Š˜ ์žˆ์—ˆ๋˜ ์ผ์„ ๋„์ ์ด๋ ค ํ•œ๋‹ค. ์–ด,, ์‚ฌ์‹ค ์ €๋ฒˆ ๋‹ฌ์—”.,. ๊ธฐ์ฐจํ‘œ ํ‹ฐ์ผ“ํŒ…์ด ์žˆ์—ˆ๋‹ค. ๊ผญ 8์ผ๋‚  ์ถœ๋ฐœํ•ด์•ผ๊ฒ ๋‹ค๋Š” ๋งˆ์Œ์œผ๋กœ ๊ธฐ์ฐจํ‘œ๋ฅผ ์˜ˆ๋งคํ•˜๋ ค๋Š”๋ฐ 8์›” 16~18์ผ ๋™์•ˆ ์—ด๋ฆฌ๊ณ , ์‹ฌ์ง€์–ด 16์ผ์€ IT ์ทจ์•ฝ๊ณ„์ธต์„ ์œ„ํ•ด ์—ด๋ฆฐ ๋‚ ์ด์–ด์„œ ๊ผญ 17์ผ๋‚  ์„ฑ๊ณตํ–ˆ์–ด์•ผ ํ–ˆ๋‹ค. ๊ทผ๋ฐ ๊นŒ๋จน๊ณ  ๋†“์ณใ…‚..ใ…“๋ฆฌ.ใ…......(์‚ฌ์‹ค ๊นŒ๋จน์Œ) ์–ด,,,,,,,,,, ์•ˆ๋ผ,,,.. ์ถ”์„ ๋•Œ ํ˜ผ์ž ์žˆ์œผ๋ฉด ์•ˆ ๋œ๋‹ค!!!๋Š” ๊ฐ„์ ˆํ•œ ๋งˆ์Œ์œผ๋กœ ๋ฒ„์Šค๋ฅผ ์˜ˆ๋งคํ•˜๋ ค๊ณ  ๋ณด๋‹ˆ, ์ƒ๊ฐ๋ณด๋‹ค ํ……ํ…… ๋น„์–ด์žˆ์–ด์„œ ์•ˆ์‹ฌํ•˜๊ณ  ์˜ˆ๋งคํ–ˆ๋‹ค. ๐Ÿ˜„ ๋•๋ถ„์— ! ์–ด์ œ ์˜คํ›„ 11์‹œ์ฏค์— ์ง‘์— ๋ฌด์‚ฌํžˆ ๋„์ฐฉ^~^ ์ƒˆ๋ฒฝ๋™์•ˆ์—” 9์ผ๋‚  ์˜ค์ „์—” ์ œ์‚ฟ์ƒ์— ์˜ฌ๋ฆฌ๊ธฐ ์œ„ํ•œ ์ „์„ ๋ถ€์น˜๊ณ , ์˜คํ›„์—” ..

๋ฐฑ์ค€ - 2056 : ์ž‘์—…

https://www.acmicpc.net/problem/2056 2056๋ฒˆ: ์ž‘์—… ์ˆ˜ํ–‰ํ•ด์•ผ ํ•  ์ž‘์—… N๊ฐœ (3 ≤ N ≤ 10000)๊ฐ€ ์žˆ๋‹ค. ๊ฐ๊ฐ์˜ ์ž‘์—…๋งˆ๋‹ค ๊ฑธ๋ฆฌ๋Š” ์‹œ๊ฐ„(1 ≤ ์‹œ๊ฐ„ ≤ 100)์ด ์ •์ˆ˜๋กœ ์ฃผ์–ด์ง„๋‹ค. ๋ช‡๋ช‡ ์ž‘์—…๋“ค ์‚ฌ์ด์—๋Š” ์„ ํ–‰ ๊ด€๊ณ„๋ผ๋Š” ๊ฒŒ ์žˆ์–ด์„œ, ์–ด๋–ค ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๊ธฐ ์œ„ํ•ด www.acmicpc.net ์—ฐ์‚ฐ - ์ตœ์†Œ์‹œ๊ฐ„์„ ๊ตฌํ•˜๋Š” ๋ฌธ์ œ์ด๊ธฐ ๋•Œ๋ฌธ์—, dp๋ฅผ ๊ฐฑ์‹ ํ•  ๋•Œ max๋กœ ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค. - ๋ชจ๋“  ์ž‘์—…์ด ๋๋‚ฌ์„ ๋•Œ์˜ ์ตœ์†Œ์‹œ๊ฐ„์œผ๋กœ ๊ฐฑ์‹ ์„ ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค. queue ๊ฐ€ ๋น„์—ˆ์„ ๋•Œ ์ฆ‰, ๋ชจ๋“  ์ž‘์—…์ด ๋๋‚ฌ์„ ๋•Œ์˜ ๋ฐ”๋กœ ์ง์ „์˜ for๋ฌธ์œผ๋กœ ๋“ค์–ด๊ฐ€๊ธฐ ์ „ ์‹œ์ ์—์„œ ๊ฐฑ์‹ ์„ ํ•œ๋‹ค. ๊ทธ๋ ‡๊ฒŒ ๋œ๋‹ค๋ฉด, ๋‹ค์Œ์— ํƒ์ƒ‰ํ•  node๋Š” ์—†์œผ๋‹ˆ๊นŒ ์ด ์‹œ์ ์ด ๋งˆ์ง€๋ง‰ ์ž‘์—…์ด ๋œ๋‹ค. #include #include #inc..

๋ฐฑ์ค€ - 1516 : ๊ฒŒ์ž„ ๊ฐœ๋ฐœ

https://www.acmicpc.net/problem/1516 1516๋ฒˆ: ๊ฒŒ์ž„ ๊ฐœ๋ฐœ ์ฒซ์งธ ์ค„์— ๊ฑด๋ฌผ์˜ ์ข…๋ฅ˜ ์ˆ˜ N(1 ≤ N ≤ 500)์ด ์ฃผ์–ด์ง„๋‹ค. ๋‹ค์Œ N๊ฐœ์˜ ์ค„์—๋Š” ๊ฐ ๊ฑด๋ฌผ์„ ์ง“๋Š”๋ฐ ๊ฑธ๋ฆฌ๋Š” ์‹œ๊ฐ„๊ณผ ๊ทธ ๊ฑด๋ฌผ์„ ์ง“๊ธฐ ์œ„ํ•ด ๋จผ์ € ์ง€์–ด์ ธ์•ผ ํ•˜๋Š” ๊ฑด๋ฌผ๋“ค์˜ ๋ฒˆํ˜ธ๊ฐ€ ์ฃผ์–ด์ง„๋‹ค. ๊ฑด๋ฌผ์˜ ๋ฒˆํ˜ธ๋Š” 1๋ถ€ www.acmicpc.net ์ž…๋ ฅ i๋ฒˆ์งธ ๊ฑด๋ฌผ์ด ์ง€์–ด์ง€๊ธฐ ์œ„ํ•ด ๋จผ์ € ์ง€์–ด์ ธ์•ผํ•˜๋Š” ๊ฑด๋ฌผ์„ ์ž…๋ ฅํ•  ๋•Œ, -1์ด ๋“ค์–ด์˜ค๋ฉด ๋ฐ”๋กœ ์ž…๋ ฅ์—์„œ ๋น ์ ธ๋‚˜์™€์•ผ ํ•œ๋‹ค. ์—ฐ์‚ฐ - ์ด ๋ฌธ์ œ์—์„œ ์œ„์ƒ์ •๋ ฌ๊ณผ ํ•จ๊ป˜ DP๋ฅผ ํ™œ์šฉํ•  ๋•Œ์—”, ์ดˆ๊ธฐํ™”ํ•ด์ฃผ๋Š” ๋‹จ๊ณ„์—์„œ ๊ฐ ๊ฑด๋ฌผ์˜ dp์—” ๊ฐ ๊ฑด๋ฌผ์ด ์ง€์–ด์ง€๊ธฐ ์œ„ํ•œ ์‹œ๊ฐ„์œผ๋กœ ์ดˆ๊ธฐํ™” ํ•ด์ค€๋‹ค. ๋ˆ„์ ๋˜๋Š” ์‹œ๊ฐ„์„ ๊ตฌํ•˜๊ธฐ ์œ„ํ•จ์ด๋‹ค. - ๋‹ค์Œ ๋…ธ๋“œ๋ฅผ ํƒ์ƒ‰ํ•  ๋•Œ, max๋กœ ๊ฐฑ์‹ ์„ ํ•ด์ค€๋‹ค. * ์ตœ์†Œ ์‹œ๊ฐ„ = ๊ฑด๋ฌผ์„ ๋™์‹œ์— ..