|  | 
|  | 
| | My program stuck at WA-17 for several times and I don't know the reason why. Can anyone give me some challenging test cases? Update: accepted now. Key point is to run unit test for the integral division function that I wrote. Both self-written complex division and std::complex<long double> division can be used to get approximate value of the quotient....
 Edited by author 25.10.2017 12:47
Two Complex numbers are equivalent if they have the same moduli and there argument differ by a multiple of 2pi.how best can you solve this without encountering irrational numbers especially when you are dealing with nth root.
 Edited by author 15.06.2013 20:16
 Yes, there's exists solution only in integer numbers for this problem.  
 Edited by author 08.07.2018 15:42
 | 
 | 
|