개발공간65 C# Cats and a Mouse [HackerRank] C# Cats and a Mouse [HackerRank] using System.CodeDom.Compiler; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text.RegularExpressions; using System.Text; using System; class Solu.. 2021. 9. 12. C# Electronics Shop [HackerRank] C# Electronics Shop [HackerRank] using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static int getMoneySpent(int[] keyboards, int[] drives, int b) { //최고 효율을 내는 비용 변수 -1로 선언 int maxCost=-1; for(int i=0; i Convert.ToInt32(drivesTemp)) ; /* * The maximum amount of money she can spend on a keyboard and USB drive, or -1 if she can't purchase both ite.. 2021. 9. 11. C# Counting Valleys [HackerRank] C# Counting Valleys [HackerRank] using System.CodeDom.Compiler; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text.RegularExpressions; using System.Text; using System; class Resu.. 2021. 9. 11. 이전 1 2 3 4 ··· 22 다음