![]() |
|
|
|
#1
|
|||
|
|||
|
@Conquest
Not exactly. Bear in mind the Int64 precision. Say you work in 16 bits You want X^7 == 8680 Solve for the 7th root and you will get in decimal 4.44712�� But a valid solution would be for instance: 4A (74 dec) because the result of 4A ^ 7 is 8680 in 16bit @Dila I don��t see any other option than brute force AC |
|
#2
|
|||
|
|||
|
E80E9AAC619831FB
And no, I didn't bruteforce 20.000 years, it's just simple math. Just as a small hint: If "x^7" is supposed to end on the digit "3", could "x" ever be a multiple of "2"? Answer: No. You've reduced the number of possible values for "x" by 50%. Last edited by Kerlingen; 06-02-2016 at 19:40. Reason: Of course it's 20k (=20.000) years. 20 would be far too low. ;) |
| The Following User Says Thank You to Kerlingen For This Useful Post: | ||
dila (06-03-2016) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GMP function | Git | General Discussion | 4 | 06-16-2011 21:33 |
| FUNCTION CHUNKs | Git | General Discussion | 4 | 09-07-2005 19:35 |
| C++ Help (Hooking a function) | Peter[Pan] | General Discussion | 8 | 08-31-2004 20:37 |