Notice
Recent Posts
Recent Comments
Link
삐까냥의 파도타기
1700번) 멀티탭 스케줄링 - 그리디
문제 출처 : https://www.acmicpc.net/problem/1700 import java.util.Scanner; public class Q1700 { static int[][] multiTab;static int[] jobList;public static void main(String[] args) {Scanner sc = new Scanner(System.in);int size = sc.nextInt();//구멍 개수int num = sc.nextInt(); multiTab = new int[size][2];jobList = new int[num];for ( int i = 0; i < num; i++ ) {jobList[i] = sc.nextInt();}int nowPoint = 0;in..
코딩/백준 알고리즘
2017. 10. 27. 19:16