-
[java]백준 코딩은 체육과목 입니다 25314번알고리즘 문제풀이/백준(자바) 2023. 4. 9. 18:03
코드
import java.util.Scanner; public class BOJ_25314 { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n =in.nextInt(); in.close(); for(int i=0; i<n;i++){ if(i%4==0){ System.out.print("long "); } } System.out.println("int"); } }
링크
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 영수증 25304번 (0) 2023.04.10 [java]백준 최댓값 2562번 (0) 2023.04.10 [java]백준 별 찍기 - 2 2439번 (0) 2023.04.08 [java]백준 별 찍기 - 1 2438번 (0) 2023.04.07 [java]백준 A+B - 4 10951번 (0) 2023.04.07