프로그래밍/기타
2021. 1. 17.
프로그래머스 - 디스크 컨트롤러 (C#)
using System; using System.Collections.Generic; using System.Numerics; public class Job { public int requestTime; public int taskTime; public Job(int requestTime, int taskTime) { this.requestTime = requestTime; this.taskTime = taskTime; } } public class Solution { public int solution(int[,] jobs) { List jobList = new List(); for (int i = 0; i < jobs.GetLength(0); ++i) { Job job = new Job(jobs[i,..