MapleStory Finger Point

๐Ÿƒ‍โ™‚๏ธBaekjoon/Java

[2741/JAVA] N ์ฐ๊ธฐ

HYEJU01 2021. 9. 4. 20:49
import java.io.*;
import java.util.StringTokenizer;

public class Main {
    public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
	int n = Integer.parseInt(br.readLine());
	for(int i=1; i<=n; i++){
	 bw.write(i+ "\n");
    }
           bw.flush();
            bw.close();
            br.close();
}
}

 

 

import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
	int n = Integer.parseInt(br.readLine());
	for(int i=1; i<=n; i++){
	 bw.write(i+ "\n");
    }
           bw.flush();
            bw.close();
            br.close();
}
}

 

 

//x

import java.util.*;
import java.io.*;

public class Main {
public static void main(String[] args)throws IOException{

BufferdReader br = new BufferdReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferdWriter(new OutputStreamWriter(System.out));

int n= Integer.parseInt(br.readLine());
br.close();

for(int i=1; i<=n; i++){
bw.write(i + "\n"); //์ž๋™๊ฐœํ–‰ ๊ธฐ๋Šฅ์ด ์—†๊ธฐ๋•Œ๋ฌธ์— ๊ฐœํ–‰ ํ•„์ˆ˜ 
}
bw.flush(); //๋ฐ์ดํ„ฐ ๋ชจ๋‘ ํ™”๋ฉด์— ์ถœ๋ ฅ
bw.close(); //


}
}