import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T; T=sc.nextInt(); sc.nextLine(); for(int test_case = 1; test_case 0 ; j--) { row[j] = row[j] + row[j - 1]; } row[0] = 1; ..
분류 전체보기
import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T; T=sc.nextInt(); sc.nextLine(); for(int test_case = 1; test_case
import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T; T=sc.nextInt(); for (int i = 1; i 0){ if(j%10 == 3 || j%10 == 6 || j%10 == 9){ result.append("-"); } j = j /10; ..
import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T; T=sc.nextInt(); for(int test_case = 1; test_case = 0 ; i--) { if(maxPrice 1. 자료형을 생각할것! long을 쓸수도있음2. 거꾸로 계산하는 방법으로 문제를 풀수 있다는 사실을 생각할것
import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T; T=sc.nextInt(); for(int test_case = 1; test_case
import java.util.Scanner; class Solution { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T; T=sc.nextInt(); for(int test_case = 1; test_case B){ result = ">"; } else if (A == B) { result = "="; }else{ result = "..