덩치1 [백준] 덩치 [Java/자바] 문제:https://www.acmicpc.net/problem/7568 코드:https://github.com/irerin07/AlgorithmStudyBaek/blob/master/src/baekjoon7568.java import java.util.Scanner; public class baekjoon7568 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int P[][] = new int[N][2]; //몸무게, 키 for(int i=0;ip[j][0] && p[i][1]>p[j][1]){ answer[j]++; } } } return answer; } } 브루트포.. 2019. 9. 10. 이전 1 다음 728x90