2020-07-01から1ヶ月間の記事一覧
昇順のメモ using System; using System.Collections.Generic; public class Hello{ public static void Main(){ int line = int.Parse(System.Console.ReadLine()); string[] arr = System.Console.ReadLine().ToString().Split(' '); int[] list = new int…
使いたいときの備忘 using System; using System.Collections.Generic; public class Hello{ public static void Main(){ int line =int.Parse(System.Console.ReadLine()); var myTable = new Dictionary<string, int>(); for (int i = 0;i < line;i++) { string[] line2</string,>…
便利だけど書き方すぐ忘れるよ・・・ using System; using System.Collections.Generic; using System.Linq; public class Hello{ public static void Main(){ List<string> dataList = new List<string>() { "HND", "NRT", "KIX", "NGO", "NGO", "NGO", "NGO", "NGO" }; var</string></string>…
この記事を参考 qiita.com これだけ直してシステムをrestartすればイケる感じ DEVICE="enp3s0" ONBOOT=yes NETBOOT=yes UUID="0ebc2621-6086-4d9a-a15d-c52cdf6ade01" IPV6INIT=no -BOOTPROTO=dhcp HWADDR="08:00:27:bf:e6:ec" TYPE=Ethernet NAME="enp3s0" …