Dear sir.
I got wrong answer and get only 20 marks for this problem while the code always gives correct output.
please suggest me where i am wrong.
Dear sir.
I got wrong answer and get only 20 marks for this problem while the code always gives correct output.
please suggest me where i am wrong.
please follow the output format always , u dont need to print N or put commas in bw
Output Format:
Two numbers X and Y denoting the rest of the numbers of the Pythagorean triplet in increasing order.
also look at the constraints u ll need to use long instead of int
corrected code: