๐Ÿ•ธ Algorithm/๐Ÿ•ธ ๋ฐฑ์ค€ BaekJoon

[๋ฐฑ์ค€][java][25314][์ฝ”๋”ฉ์€ ์ฒด์œก๊ณผ๋ชฉ ์ž…๋‹ˆ๋‹ค]

๋‰ด์ด NUEY 2023. 10. 3. 21:41
๋ฐ˜์‘ํ˜•

 

import java.util.Scanner;

// 25314	์ฝ”๋”ฉ์€ ์ฒด์œก๊ณผ๋ชฉ ์ž…๋‹ˆ๋‹ค
public class Main {
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int num = sc.nextInt();
		sc.close();
		
		for (int i = 0; i < num/4; i++) {
			System.out.print("long ");
		}
		
		System.out.print("int");
	}
}

 

 

 

 

๋ฐ˜์‘ํ˜•