알고리즘 - SWEA/D3

    [SW expert Academy] SWEA 9280번 진용이네 주차타워 자바(Java)

    [D3] 진용이네 주차타워 - 9280 문제 링크 성능 요약 메모리: 62,012 KB, 시간: 251 ms, 코드길이: 1,888 Bytes 제출 일자 2023-11-07 10:21 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.*; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for(int tc = 1; tc 0){ if(size < n){ for(int j = 0; j < n..

    [SW expert Academy] SWEA 7532번 세영이의 SEM력 연도 자바(Java)

    [D3] 세영이의 SEM력 연도 - 7532 문제 링크 성능 요약 메모리: 33,400 KB, 시간: 549 ms, 코드길이: 736 Bytes 제출 일자 2023-11-06 10:32 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T= sc.nextInt(); for(int tc = 1; tc

    [SW expert Academy] SWEA 5515번 2016년 요일 맞추기 자바(Java)

    [D3] 2016년 요일 맞추기 - 5515 문제 링크 성능 요약 메모리: 24,548 KB, 시간: 157 ms, 코드길이: 541 Bytes 제출 일자 2023-11-06 10:19 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); int[] mons = {0,31,29,31,30,31,30,31,31,30,31,30,3..

    [SW expert Academy] SWEA 10200번 구독자 전쟁 자바(Java)

    [D3] 구독자 전쟁 - 10200 문제 링크 성능 요약 메모리: 30,368 KB, 시간: 180 ms, 코드길이: 411 Bytes 제출 일자 2023-11-06 09:49 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; class Solution{ public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for(int tc = 1; tc n ? a + b - n : 0) ); } } }

    [SW expert Academy] SWEA 8931번 제로 자바(Java)

    [D3] 제로 - 8931 문제 링크 성능 요약 메모리: 104,756 KB, 시간: 485 ms, 코드길이: 591 Bytes 제출 일자 2023-11-06 09:41 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.*; import java.util.Stack; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for(int tc = 1; tc 0){ int n = sc.nextInt..

    [SW expert Academy] SWEA 8821번 적고 지우기 자바(Java)

    [D3] 적고 지우기 - 8821 문제 링크 성능 요약 메모리: 30,432 KB, 시간: 188 ms, 코드길이: 589 Bytes 제출 일자 2023-11-06 09:35 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for(int tc = 1; tc

    [SW expert Academy] SWEA 8500번 극장 좌석 자바(Java)

    [D3] 극장 좌석 - 8500 문제 링크 성능 요약 메모리: 119,020 KB, 시간: 689 ms, 코드길이: 530 Bytes 제출 일자 2023-11-06 09:29 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for(int tc = 1; tc

    [SW expert Academy] SWEA 4751번 다솔이의 다이아몬드 장식 자바(Java)

    [D3] 다솔이의 다이아몬드 장식 - 4751 문제 링크 성능 요약 메모리: 23,952 KB, 시간: 156 ms, 코드길이: 1,051 Bytes 제출 일자 2023-11-05 21:35 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); char[][] mark = {{'.','.','#','.','.'}, {'.','#..