|
|
вернуться в форумTo Admins - TLE 5. Wrong input data First I used my own method for reading data, this function: http://paste.ubuntu.com/475799/ GOT TLE 5... Then used this method: double[] data = Console.ReadLine().Split().Select(s => double.Parse(s)).ToArray(); GOT AC... Whats the 5 test? is it bug in my reading function or what? Need help. PS Check last @Crash@: http://acm.timus.ru/status.aspx?space=1&num=1582&author=73720 Code: if (data[0].IndexOf('.') == -1 || data[1].IndexOf('.')==-1 || data[2].IndexOf('.')==-1) throw new System.DivideByZeroException(); Some of numbers are NOT with floating point. From problem statement: В единственной строке через пробел записаны 3 числа с плавающей точкой k1, k2 и k3. Edited by author 10.08.2010 14:02Re: To Admins - TLE 5. Wrong input data 100 - is the floating point number too. Re: To Admins - TLE 5. Wrong input data I think it should be "100.0" 100 - is the floating point number too. |
|
|