ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 백준 25314 JAVA
    ETC/Algorithm 2023. 5. 19. 23:20
    import java.io.*;
    
    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()) / 4;
            for (int i = 0; i < n; i++) {
                bw.write("long ");
            }
            bw.write("int");
            bw.flush();
        }
    }

    댓글

Designed by black7375.