최초 생각:최댓값을 찾은 다음, 그 값에서 1씩 빼가면서 계산하도록 진행결과 -> 시간 초과using System;using System.Collections.Generic;namespace Baekjoon{ class Program { static void Main() { string N_string = Console.ReadLine(); int N = int.Parse(N_string); string N_Wanted = Console.ReadLine(); int[] Wanted = new int[N]; string[] Wanted_string = N_Wanted.Spl..