전체 글 149

[SWEA] 12741. 두 전구_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AXuUo_Tqs9kDFARa SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com import java.util.*; import java.io.*; class Solution{ public static void main(String args[]) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder();..

[SWEA] 1204. [S/W 문제해결 기본] 1일차 - 최빈수 구하기_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV13zo1KAAACFAYh&categoryId=AV13zo1KAAACFAYh&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=3 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 1-1000까지의 배열을 만들어서 입력 받은 숫자의 번호의 배열을 ++시켜줍니다. import java.util.Scann..

[SWEA] 1288. 새로운 불면증 치료법_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV18_yw6I9MCFAZN&categoryId=AV18_yw6I9MCFAZN&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=3 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 민석아 그냥 자라 import java.util.*; import java.io.*; import java.io.FileI..

[SWEA] 1954. 달팽이 숫자_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5PobmqAPoDFAUq&categoryId=AV5PobmqAPoDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com D2문제를 풀다가 마주한 달팽이 처음에 어떻게 구현을 해야할지 몰라서 다른 블로그를 참고해서 곰곰히 생각하니깐 괜찮았다. ..

[spring] Spring Mail AuthenticationFailedException 해결

org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.14 계정 -> 보안 -> 2단계 비밀번호를 설정 -> 앱비밀번호 발급 생성 버튼을 눌러주면 앱비밀번호를 발급받을수 있다. 발급받은 번호를 Application.porperties에 넣어주면 이메일 전송을 정상적으로 이용할수 있다. AdminMail.id=~~@gmail.com AdminMail.password="발급받은 앱비밀번호"

Spring Boot 2022.05.08

[SWEA] 1961. 숫자 배열 회전_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5Pq-OKAVYDFAUq&categoryId=AV5Pq-OKAVYDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 입력받은 행렬을 시계방향으로 90도씩 회전해준다. 고로 90도 회전함수만 구해주면 나머지 180,270은 구해주기 쉽다. ..

[SWEA] 1970. 쉬운 거스름돈_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5PsIl6AXIDFAUq&categoryId=AV5PsIl6AXIDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 5만원 부터 10원까지의 배열을 만들어주고 int[] won={50000,10000,5000,1000,500,100,50,..

[SWEA] 1974. 스도쿠 검증_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5Psz16AYEDFAUq&categoryId=AV5Psz16AYEDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 행,열,블록 검사를 통해서 숫자가 겹치지 않으면 1을 출력해준다. 1 2 3 4 5 6 7 8 9 10 11 12 13 1..

[SWEA] 1979. 어디에 단어가 들어갈 수 있을까_JAVA

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5PuPq6AaQDFAUq&categoryId=AV5PuPq6AaQDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 가로 세로 방향으로 따로 구해서 완전 탐색을 해준다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16..