Page 1 of 1
Challenge 'One Function'
Posted: Sun Aug 22, 2010 2:31 pm
by arthur
hi, i think i know how to solve this one
this function seems to run on 32-bits machine, am i right?
Posted: Sun Aug 22, 2010 2:36 pm
by CodeX
is this the one I made? If so I think you'll find its x86-64, out of curiosity where about is it on the map?
Posted: Sun Aug 22, 2010 3:41 pm
by arthur
CodeX wrote:is this the one I made? If so I think you'll find its x86-64, out of curiosity where about is it on the map?
Thanks, CodeX
i got it now

you can get it from here /Maeda Path/Number Theory/One Function
Posted: Mon Aug 23, 2010 12:32 am
by CodeX
Thanks, time to crack on with Number Theory

Posted: Fri Dec 16, 2011 2:00 am
by dayepa
Hello,
I just ran the function and I got *****************,
but that's not the answer.
Am I missing something?
Posted: Fri Dec 16, 2011 7:39 am
by CodeX
yep

Posted: Fri Dec 16, 2011 12:52 pm
by dayepa
I got it, thanks

Posted: Fri Jul 20, 2012 1:23 pm
by AMindForeverVoyaging
I'm having lots of fun with this challenge... only not really
My disassembling attempts all seem to fail on the bytes "32 22" in the second half of the code... tried many different options. And even without that, trying to re-assemble this code is a pain. Which might be because it was never disassembled correctly.
Gah!
Posted: Sun Jul 29, 2012 11:45 am
by AMindForeverVoyaging
So, which tool are people using for the disassembly? I have tried:
-IDA (the 5.0 freeware version)
-debug.exe under Windows XP
-WinDbg under Windows 7
-objdump under Linux
-ndisasm
All to no avail.
Posted: Fri Aug 10, 2012 12:25 pm
by CodeX
I think I used ndisasm to reverse the code to make sure everything was fine, but I made the function using GCC - there's more than one way to solve this :p
Posted: Mon Apr 01, 2013 8:14 pm
by AMindForeverVoyaging
I have written a C program which does the same as the given function. I am getting a 17-digit number as the result (apparently like dayepa). This is however not accepted. What am I missing?
Posted: Tue Apr 02, 2013 9:40 am
by Redford
Try to 'decode' this number

Answer is a word (or two, I don't remember)
Posted: Fri May 23, 2014 3:26 pm
by SemmZemm
I'm getting 19-digit number (if decimal) Am I wrong somewhere? Could someone say me what's wrong?
Posted: Fri May 23, 2014 4:00 pm
by CodeX
The function should be returning a 17 digit decimal, there's more than one way to interpret the code