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.
here is my submission in java, i have tested the code and provides correct results in almost all tests using the help from the discussions below however i failed the timeout, if anyone wants some refrence you can refer below-
Project Euler #33: Digit canceling fractions
You are viewing a single comment's thread. Return to all comments →
here is my submission in java, i have tested the code and provides correct results in almost all tests using the help from the discussions below however i failed the timeout, if anyone wants some refrence you can refer below-
import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set;
public class Main { public static void main(String[] args) { int n = 4; int k = 3;
}