목록전체 글 (323)
코드와이
문제링크 swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV7IzvG6EksDFAXB SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 완전탐색을 bit로 수행 package D3; import java.util.Scanner; public class 부분수열의_합 { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for (int tc = 1; tc k) break; } } if (sum == k) { ans..
문제링크 swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AW9j74FacD0DFAUY& SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com package D3; import java.util.ArrayList; import java.util.Scanner; public class 진용이네_주차타워 { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for (int tc = 1; tc 0) { int j = 0; ..
문제 링크 swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV139KOaABgCFAYh SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com package D3; import java.util.Scanner; public class flatten { static int max = 0; static int min = 0; public static void main(String[] args) { Scanner sc = new Scanner(System.in); StringBuilder sb = new StringBuilder(); for(int..