ComputerScience/Coding Test 27

백준 5597번: 과제 안 내신 분..?

다른 사용자가 제출한 코드를 보면 간결하다. 반면, 내가 짠 코드는 너무 길다. using System; class Program { static void Main(string[] args) { int[] studentsArray = new int[30]; for (int i = 0; i < studentsArray.Length - 2; i++) { string stringStudentID = Console.ReadLine(); int studentId = System.Convert.ToInt32(stringStudentID); studentsArray[i] = studentId; } bool[] hasArrays = new bool[30]; for (int i = 0; i < hasArrays.Leng..