|
|
вернуться в форумC# and TL#20 => maybe your input is too slow I recommend you to use the simplest input you have. 1. For a line with one number just use int.Parse(Console.ReadLine()) 2. For a line with two numbers use the simplest parser string query = Console.ReadLine(); int separator = query.IndexOf(' '); int a = int.Parse(query.Substring(0, separator)) - 1, b = int.Parse(query.Substring(separator + 1)) - 1; Otherwise you 'll get TL. P.S. Does anybody know a faster input? |
|
|