알고리즘 - SWEA

    [SW expert Academy] SWEA 5162번 두가지 빵의 딜레마 자바(Java)

    [D3] 두가지 빵의 딜레마 - 5162 문제 링크 성능 요약 메모리: 25,692 KB, 시간: 168 ms, 코드길이: 378 Bytes 제출 일자 2023-11-05 15:55 출처: 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 8658번 Summation 자바(Java)

    [D3] Summation - 8658 문제 링크 성능 요약 메모리: 21,100 KB, 시간: 135 ms, 코드길이: 699 Bytes 제출 일자 2023-11-04 22:55 출처: 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 7584번 자가 복제 문자열 자바(Java)

    [D3] 자가 복제 문자열 - 7584 문제 링크 성능 요약 메모리: 20,936 KB, 시간: 133 ms, 코드길이: 645 Bytes 제출 일자 2023-11-04 22:47 출처: 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 0){ if(k % 2 == 1) k = (k-1)/ 2; i..

    [SW expert Academy] SWEA 4522번 세상의 모든 팰린드롬 자바(Java)

    [D3] 세상의 모든 팰린드롬 - 4522 문제 링크 성능 요약 메모리: 20,364 KB, 시간: 128 ms, 코드길이: 717 Bytes 제출 일자 2023-11-04 22:12 출처: 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 6692번 다솔이의 월급 상자 자바(Java)

    [D3] 다솔이의 월급 상자 - 6692 문제 링크 성능 요약 메모리: 94,708 KB, 시간: 363 ms, 코드길이: 445 Bytes 제출 일자 2023-11-04 21:53 출처: 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 7087번 문제 제목 붙이기 자바(Java)

    [D3] 문제 제목 붙이기 - 7087 문제 링크 성능 요약 메모리: 24,216 KB, 시간: 165 ms, 코드길이: 593 Bytes 제출 일자 2023-11-04 21:46 출처: 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 3142번 영준이와 신비한 뿔의 숲 자바(Java)

    [D3] 영준이와 신비한 뿔의 숲 - 3142 문제 링크 성능 요약 메모리: 20,352 KB, 시간: 130 ms, 코드길이: 491 Bytes 제출 일자 2023-11-04 21:22 출처: 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 10912번 외로운 문자 자바(Java)

    [D3] 외로운 문자 - 10912 문제 링크 성능 요약 메모리: 35,712 KB, 시간: 233 ms, 코드길이: 867 Bytes 제출 일자 2023-11-04 21:07 출처: 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