|
|
back to boardCommon BoardC# locale Looks like russian locale is used on a test server: the following code [code] String[] numbers = Console.ReadLine().Split(); float n1 = float.Parse(numbers[0]);[/code] crashes and you need to replace the second line with: [code] float n1 = float.Parse(numbers[0].Replace('.', ',')); [/code] |
|
|