알고리즘 - SWEA/D3

    [SW expert Academy] SWEA 10059번 유효기간 자바(Java)

    [D3] 유효기간 - 10059문제 링크성능 요약메모리: 45,084 KB, 시간: 272 ms, 코드길이: 849 Bytes제출 일자2023-11-14 09:51출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.doimport 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 12) ? true : false; boolean che..

    [SW expert Academy] SWEA 9839번 최고의 쌍 자바(Java)

    [D3] 최고의 쌍 - 9839 문제 링크 성능 요약 메모리: 122,512 KB, 시간: 730 ms, 코드길이: 1,064 Bytes 제출 일자 2023-11-14 09:36 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; import java.util.Arrays; 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 = 1; i--){..

    [SW expert Academy] SWEA 9778번 카드 게임 자바(Java)

    [D3] 카드 게임 - 9778 문제 링크 성능 요약 메모리: 21,648 KB, 시간: 140 ms, 코드길이: 982 Bytes 제출 일자 2023-11-14 09:24 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; import java.util.HashMap; 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 = lower ?"ST..

    [SW expert Academy] SWEA 9940번 순열1 자바(Java)

    [D3] 순열1 - 9940 문제 링크 성능 요약 메모리: 123,408 KB, 시간: 923 ms, 코드길이: 702 Bytes 제출 일자 2023-11-14 09:08 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; import java.util.Arrays; 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 8457번 알 덴테 스파게티 자바(Java)

    [D3] 알 덴테 스파게티 - 8457 문제 링크 성능 요약 메모리: 33,104 KB, 시간: 191 ms, 코드길이: 747 Bytes 제출 일자 2023-11-13 10:12 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.io.IOException; import java.util.Scanner; class Solution{ public static void main(String[] args) throws IOException{ Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for(int tc = 1; tc

    [SW expert Academy] SWEA 3233번 정삼각형 분할 놀이 자바(Java)

    [D3] 정삼각형 분할 놀이 - 3233 문제 링크 성능 요약 메모리: 35,300 KB, 시간: 227 ms, 코드길이: 406 Bytes 제출 일자 2023-11-13 10:03 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.io.IOException; import java.util.Scanner; class Solution{ public static void main(String[] args) throws IOException{ Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for(int tc = 1; tc

    [SW expert Academy] SWEA 6900번 주혁이의 복권 당첨 자바(Java)

    [D3] 주혁이의 복권 당첨 - 6900 문제 링크 성능 요약 메모리: 60,936 KB, 시간: 245 ms, 코드길이: 1,216 Bytes 제출 일자 2023-11-13 09:54 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; import java.util.HashMap; 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 3376번 파도반 수열 자바(Java)

    [D3] 파도반 수열 - 3376 문제 링크 성능 요약 메모리: 20,948 KB, 시간: 132 ms, 코드길이: 541 Bytes 제출 일자 2023-11-13 09: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(); long[] nums = new long[101]; for(int tc = 1; tc