전체 글

전체 글

    [SW expert Academy] SWEA 1221번 GNS 자바(Java)

    [D3] [S/W 문제해결 기본] 5일차 - GNS - 1221 문제 링크 성능 요약 메모리: 79,160 KB, 시간: 398 ms, 코드길이: 1,079 Bytes 제출 일자 2023-10-29 12:10 출처: 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); String[] nums = {"ZRO", "ONE", "TW..

    [SW expert Academy] SWEA 6485번 삼성시의 버스 노선 자바(Java)

    [D3] 삼성시의 버스 노선 - 6485 문제 링크 성능 요약 메모리: 35,616 KB, 시간: 189 ms, 코드길이: 728 Bytes 제출 일자 2023-10-29 11:59 출처: 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 9229번 한빈이와 Spot Mart 자바(Java)

    [D3] 한빈이와 Spot Mart - 9229 문제 링크 성능 요약 메모리: 48,276 KB, 시간: 259 ms, 코드길이: 739 Bytes 제출 일자 2023-10-29 11:36 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(Sy..

    [SW expert Academy] SWEA 7728번 다양성 측정 자바(Java)

    [D3] 다양성 측정 - 7728 문제 링크 성능 요약 메모리: 20,640 KB, 시간: 139 ms, 코드길이: 485 Bytes 제출 일자 2023-10-29 11:29 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; import java.util.HashSet; 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 12004번 구구단 1 자바(Java)

    [D3] 구구단 1 - 12004 문제 링크 성능 요약 메모리: 20,436 KB, 시간: 143 ms, 코드길이: 547 Bytes 제출 일자 2023-10-28 20:21 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do import java.util.Scanner; class Solution { static boolean[] visit; 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 12051번 프리셀 통계 자바(Java)

    [D3] 프리셀 통계 - 12051 문제 링크 성능 요약 메모리: 31,300 KB, 시간: 207 ms, 코드길이: 711 Bytes 제출 일자 2023-10-28 20:04 출처: 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( (n * pd) % 100 == 0){ result ..

    [SW expert Academy] SWEA 12741번 두 전구 자바(Java)

    [D3] 두 전구 - 12741 문제 링크 성능 요약 메모리: 99,056 KB, 시간: 621 ms, 코드길이: 541 Bytes 제출 일자 2023-10-28 19:23 출처: 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 rangeClose ? 0 : rangeClose - rangeSta..

    [SW expert Academy] SWEA 13038번 교환학생 자바(Java)

    [D3] 교환학생 - 13038 문제 링크 성능 요약 메모리: 24,028 KB, 시간: 337 ms, 코드길이: 885 Bytes 제출 일자 2023-10-28 19:14 출처: 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