james321 Posted April 12, 2017 Share Posted April 12, 2017 (edited) Hi Could you help me find some mathematical solution to this problem? It would also be of great help if they could give some solution at the level of programming language (java). Thanks. Edited April 12, 2017 by james321 Link to comment Share on other sites More sharing options...
fiveworlds Posted April 12, 2017 Share Posted April 12, 2017 You have to use brute force testing each possibility. I would recommend doing this on Linux and making use of long or the big integer class. Note the speed of your code is important. Where possible make use of primitives and avoid using class variables. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now