using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; class TEST{ static void Main(){ Sol mySol =new Sol(); mySol.Solve(); } } class Sol{ public void Solve(){ HttpWebRequest HttpWReq; Encoding enc = Encoding.UTF8; String url="http://www.geocities.jp/unko_der/sample_01.txt"; HttpWReq=(HttpWebRequest)WebRequest.Create(url); HttpWReq.Method="GET"; HttpWebResponse HttpWResp = (HttpWebResponse)HttpWReq.GetResponse(); Stream resStream = HttpWResp.GetResponseStream(); StreamReader sr = new StreamReader(resStream, enc); String html = sr.ReadToEnd(); sr.Close(); resStream.Close(); // Insert code that uses the response object. HttpWResp.Close(); //Console.WriteLine(html); //Console.WriteLine("\treq= {0} ,score= {1} ",s,html); //Console.WriteLine(html.Length); var ca=html.ToCharArray(); ca[0]='3'; var PI=new String(ca); for(int i=0;iint.Parse(e));} static long[] rla(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>long.Parse(e));} static double[] rda(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>double.Parse(e));} }