정올숫자야구 썸네일형 리스트형 1761 : 숫자 야구 import java.util.Scanner; public class Main { public static class Baseball{ int num; int strick; int ball; public Baseball() {} public Baseball(int num,int strick,int ball) { this.num = num; this.strick=strick; this.ball =ball; } } public static void main(String[] args) throws IOException { // TODO Auto-generated method stub int n; Scanner sc = new Scanner(System.in); n = sc.nextInt(); Baseball[.. 더보기 이전 1 다음