This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int N = sc.nextInt(); // ์์ฐ์ | |
| sc.close(); | |
| for(int i=0; i<N; i++){ // 0๋ถํฐ ๋ถํดํฉ ๊ฒ์ฌ | |
| int decompos=i; // ๋ถํดํฉ์ด ๋ ๋ณ์ | |
| String numtoString = Integer.toString(i); // ๊ฐ ์๋ฆฌ์๋ฅผ ๋ํ๊ธฐ ์ํด N์ ๋ฌธ์์ด๋ก ๋ฐ๊ฟ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int [][]a = new int[3][2]; | |
| for(int i=0; i<a.length; i++) | |
| for(int j=0; j<a[0].length; j++) | |
| a[i][j] = sc.nextInt(); | |
| if (a[0][0] == a[1][0]) { // 30 == 10 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int N = sc.nextInt(); | |
| sc.close(); | |
| int count=1; // ๋ช ๋ฒ์งธ ์ซ์์ธ์ง ์ธ๋ ๋ณ์ | |
| for(int i=666; ;i++){ | |
| String numToString = Integer.toString(i); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| StringBuilder sb = new StringBuilder(); // ์ถ๋ ฅ์ด ๋ง์ผ๋ฏ๋ก ์ฌ์ฉํฉ๋๋ค. | |
| int N = sc.nextInt(); | |
| int [][]pos = new int[N][2]; | |
| for(int i=0; i<N; i++){ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| StringBuilder sb = new StringBuilder(); // ์ถ๋ ฅ์ด ๋ง์ผ๋ฏ๋ก ์ฌ์ฉํฉ๋๋ค. | |
| int N = sc.nextInt(); | |
| int [][]pos = new int[N][2]; | |
| for(int i=0; i<N; i++){ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| StringBuilder sb = new StringBuilder(); // ์ถ๋ ฅ์ด ๋ง์ผ๋ฏ๋ก ์ฌ์ฉํฉ๋๋ค. | |
| int N = sc.nextInt(); | |
| TreeSet<String> treeWords = new TreeSet<String>(); // ํธ๋ฆฌ์ ์ ์ฌ์ฉํ์ฌ ์๋์ค๋ณต ์ ๊ฑฐ | |
| for (int i=0; i<N; i++) | |
| treeWords.add(sc.next()); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int N = sc.nextInt(); | |
| int []A = new int[N]; | |
| int []B = new int[N]; | |
| int S=0; | |
| for(int i=0; i<N; i++) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| StringBuilder sb = new StringBuilder(); | |
| int N = sc.nextInt(); | |
| String [][]member = new String[N][2]; | |
| for(int i=0; i<N; i++){ | |
| member[i][0] = sc.next(); // ๋์ด | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int K = sc.nextInt(); | |
| Stack<Integer> stack = new Stack<>(); | |
| for(int i=0; i<K; i++){ | |
| int input = sc.nextInt(); | |
| if(input==0) stack.pop(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.*; | |
| public class Main { | |
| static char field[][]; | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int N = sc.nextInt(); | |
| sc.close(); | |
| field = new char[N][N]; | |
| StringBuilder sb = new StringBuilder(); | 
OlderNewer