https://www.acmicpc.net/problem/25314
25314๋ฒ: ์ฝ๋ฉ์ ์ฒด์ก๊ณผ๋ชฉ ์ ๋๋ค
์ค๋์ ํ์์ ๋ฉด์ ๋ ์ด๋ค. ๋ฉด์ ์ค๋น๋ฅผ ์ด์ฌํ ํด์ ์์ ์ง๋ฌธ๋ค์ ์ ๋๋ตํ ํ์๋ ์ด์ ๋ง์ง๋ง์ผ๋ก ์น ํ์ ์ง์ ์ฝ๋ฉํ๋ ๋ฌธ์ ๋ฅผ ๋ฐ์๋ค. ํ์๊ฐ ๋ฐ์ ๋ฌธ์ ๋ ๋ ์๋ฅผ ๋ํ๋ ๋ฌธ์ ์๋ค. C++
www.acmicpc.net
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int save = n / 4;
for (int i = 0; i < save; i++) {
System.out.print("long ");
}
sc.close();
System.out.print("int");
}
}