|
|
вернуться в форумto Admins, about WA 3 Hi. I find out that test #3 looks like this : p = 3 V = 4 n = 0 When we need to find T, answer will be "undefined" if and only if n = 0 (because, in this way, we get division by zero). In second and in third tests n=0, and we need to find T. I wrote code like this : if( we need find T ) { if( n==0 ) printf("undefined\n"); } But, in this way, I get WA 3. What is wrong? Please, check test, or, if I made mistake, help me figure it out. Thanks. Edited by author 16.07.2012 01:48 Re: to Admins, about WA 3 the answer is "error" because there is no solution Edited by author 21.08.2012 15:16 Re: to Admins, about WA 3 But in this case I get WA 2, changing only one string in my code. |
|
|