We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Project Euler #251: Cardano Triplets
Project Euler #251: Cardano Triplets
Sort by
recency
|
13 Discussions
|
Please Login in order to post a comment
We need to again come up with diff algo after studying factors ( ..sum) under 10000 or 100000. It seems this problem require advance level of mathematics
hamad
I got this optimal solution in c++ but it still needs to be optimized can anyone help?
is there any way to optimize it?
import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
public class Solution {
}
There is a nice way to do it in O(n^(2/3)) time, which is less than 1s for n=2*10^10.