[백준/Java] 10170 : NFC West vs North

SEOP·2024년 6월 24일
0

import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedWriter bw = new BufferedWriter(new BufferedWriter(new OutputStreamWriter(System.out)));

        String output = "NFC West       W   L  T\n" +
                        "-----------------------\n" +
                        "Seattle        13  3  0\n" +
                        "San Francisco  12  4  0\n" +
                        "Arizona        10  6  0\n" +
                        "St. Louis      7   9  0\n" +
                        "\n" +
                        "NFC North      W   L  T\n" +
                        "-----------------------\n" +
                        "Green Bay      8   7  1\n" +
                        "Chicago        8   8  0\n" +
                        "Detroit        7   9  0\n" +
                        "Minnesota      5  10  1";

        bw.write(output);

        bw.flush();
        bw.close();
    }
}
profile
응애 나 애기 개발자

0개의 댓글