Sort 19 Discussions, By:
Please Login in order to post a comment
For N = 9, I got the following result:
sum = 56370
I passed all tests except the last one. Can someone please tell me what's going wrong here?
Got it. No duplicate product. Not no duplicate multiplicand/multiplier pair.
ive used brute force approach to solve this and got timeout in testcase 5 can anyone explain it
what is the upper limit of the numbers to be considered for multiplicand and multiplier ?
passed all the test cases
for i in range(1964,1,-1):
for j in range(100):
if j not in set1:
if value not in set1 :
matcher=''.join(str(k) for k in range(1,n+1))
i am getting error for numbers greater than 7 i am using the permutation function.any help will be appericiated
I used the same thing. At the beginning I was also getting wrong answers for TC 1,3 and 5. What kind of error are u getting?
I could pass all the cases with a little modification in pypy3 with the last case taking 1.21s