망나니 AWOS의 일상
article thumbnail
[java] 백준 단계별로 풀어보기 3단계 (3)
알고리즘/백준 2021. 6. 24. 00:14

9단계 2438번 별 찍기 - 1 import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); for(int i=1; i

article thumbnail
[java] 백준 단계별로 풀어보기 3단계 (1)
알고리즘/백준 2021. 6. 19. 02:06

1단계 2739번 구구단 import java.util.Scanner; class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); for(int i=1; i

article thumbnail
[java] 백준 단계별로 풀어보기 2단계
알고리즘/백준 2021. 6. 17. 21:26

1단계 1330번 두 수 비교하기 import java.util.Scanner; class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a > b) System.out.println(">"); else if(a == b) System.out.println("=="); else System.out.println("

article thumbnail
21-1 학습동아리, 글쓰기 게시판 구현

전 프로젝트 때 Spring을 쓰면서 DTO쓰는 방법을 잘 몰라서.... Entity에 직접적으로 접근하여 값을 불러왔었는데 이건 좀 아니다 싶어 간단한 글쓰기 게시판을 구현하여 DTO를 쓰는 방법에 대해서 배우기 위해 학습동아리를 만들었다. https://github.com/A-WOS/board A-WOS/board Contribute to A-WOS/board development by creating an account on GitHub. github.com

article thumbnail
[java] 백준 단계별로 풀어보기 1단계 (1)
알고리즘/백준 2021. 6. 17. 16:48

1단계 2557번 Hello World class Main { public static void main(String args[]) { System.out.print("Hello World!"); } } 2단계 10718번 We love kriii class Main { public static void main(String args[]){ System.out.print("강한친구 대한육군"+"\n"+"강한친구 대한육군"); } } 3단계 10171번 고양이 class Main { public static void main(String []args){ System.out.println("\\ /\\"); System.out.println(" ) ( ')"); System.out.println("( / )..