i can't figure out y m i getting WA....here's my code...
plz..help me...
Your code does not return the correct result for the sample input.
how stupid of me....neways..thanks...)
can anyone give me strong test cases..
There is no such thing as a "strong" test case. Post your code and we'll avoid the random guessing.
I checked with all inputs , it shows correct output only, but it shows WA,there is a bug in my code , i checked but can't able to figure out , plz help me....
code Deleted after ACC...
anybody help my above probs....
This problem has a very simple domain. You can write a brute force solution that will give you a list of correct output for many possible test cases. Then you can compare that output to the output of your program that will pass the large input.
Your code fails some rather obvious testcases. If you had tested systematically you would find them.
Now got ACC....problem is with carry....thanks leppy.....