์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
31 |
- ๋์ ํ ์ด๋ธ
- Spring
- ํ ์ด๋ธ
- ๋ณ์
- Ajax
- select
- SQL
- JSP
- ๋์
- ํจ์
- JS
- ํ๋ก๊ทธ๋๋จธ์ค
- ๋ฆฌ๋ ์ค
- ๋์ปค
- ์ฝํ
- ์ธ๋ผ์ธ๋ทฐ
- ์๋ฐ์คํฌ๋ฆฝํธ
- ๋ฐฐ์ด
- DATE_FORMAT
- oracle
- MySQL
- optionํ๊ทธ
- order by
- ๋ฐฑํฑ
- ๋ช ๋ น์ด
- Update
- JavaScript
- ์ปจํธ๋กค๋ฌ
- like
- post๋ฐฉ์
- Today
- Total
๋ชฉ๋กAlgorithm๐ (25)
bom's happy life
๋ฌธ์ ์ค๋ช : ์์ฐ์ n์ด ์ ๋ ฅ์ผ๋ก ์ฃผ์ด์ก์ ๋ ๋ง์ฝ n์ด ์ง์์ด๋ฉด "n is even"์, ํ์์ด๋ฉด "n is odd"๋ฅผ ์ถ๋ ฅํ๋ ์ฝ๋๋ฅผ ์์ฑํด ๋ณด์ธ์. ์ ํ์ฌํญ : ๐ 1 ≤ n ≤ 1,000 ์ ์ถ๋ ฅ ์ : ์ ๋ ฅ #1 100 ์ถ๋ ฅ #1 100 is even ์ ๋ ฅ #2 1 ์ถ๋ ฅ #2 1 is odd ๋ฌธ์ import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); } } ๋ฐฉ๋ฒ 1 import java.util.Scanner; public class Solution { public static voi..
๋ฌธ์ ์ค๋ช : ๋ฌธ์์ด str์ด ์ฃผ์ด์ง๋๋ค. ๋ฌธ์์ด์ ์๊ณ๋ฐฉํฅ์ผ๋ก 90๋ ๋๋ ค์ ์๋ ์ ์ถ๋ ฅ ์์ ๊ฐ์ด ์ถ๋ ฅํ๋ ์ฝ๋๋ฅผ ์์ฑํด๋ณด์ธ์. ์ ํ์ฌํญ : ๐ 1 ≤ str ์ ๊ธธ์ด ≤ 10 ์ ์ถ๋ ฅ ์ : ์ ๋ ฅ #1 abcde ์ถ๋ ฅ #1 a b c d e ๋ฌธ์ import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); } } ์ ๋ต 1 import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner ..
๋ฌธ์ ์ค๋ช : ๋ ๊ฐ์ ๋ฌธ์์ด str1, str2 ๊ฐ ๊ณต๋ฐฑ์ผ๋ก ๊ตฌ๋ถ๋์ด ์ ๋ ฅ์ผ๋ก ๊ตฌ๋ถ๋์ด ์ ๋ ฅ์ผ๋ก ์ฃผ์ด์ง๋๋ค. ์ ์ถ๋ ฅ ์์ ๊ฐ์ด str1๊ณผ str2๋ฅผ ์ด์ด์ ์ถ๋ ฅํ๋ ์ฝ๋๋ฅผ ์์ฑํด ๋ณด์ธ์. ์ ํ์ฌํญ : ๐ 1 ≤ str1, str2์ ๊ธธ์ด ≤ 10 ์ ์ถ๋ ฅ ์ : ์ ๋ ฅ #1 apple pen ์ถ๋ ฅ #1 applepen ์ ๋ ฅ #1 Hello World! ์ถ๋ ฅ #1 HelloWorld! ๋ฌธ์ import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); } } ์ ๋ต i..
๋ฌธ์ ์ค๋ช : ๋ ์ ์ a, b๊ฐ ์ฃผ์ด์ง ๋ ๋ค์๊ณผ ๊ฐ์ ํํ์ ๊ณ์ฐ์์ ์ถ๋ ฅํ๋ ์ฝ๋๋ฅผ ์์ฑํด ๋ณด์ธ์. a + b = c ์ ํ์ฌํญ : ๐ 1 ≤ a, b ≤ 100 ์ ์ถ๋ ฅ ์ : ์ ๋ ฅ #1 4 5 ์ถ๋ ฅ #1 4 + 5 = 9 ๋ฌธ์ import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a + b); } } ์ ๋ต 1 import java.util.Scanner; public class Solution { public sta..