Username: 
Password: 
Restrict session to IP 

Accuracy of the answer  Go to the Flow Over Astronomy challenge

1 2
Global Rank: 300
Totalscore: 66778
Posts: 12
Thanks: 12
UpVotes: 13
Registered: 9y 113d



Last Seen: 7y 176d
The User is Offline
Accuracy of the answer
Google/translate1Thank You!1Good Post!0Bad Post! link
I used find to locate the beginning and the end of the calculation to be done, but it messed up with splitting the html-source into smaller pieces.
find returns -1 if nothing was found, index returns an Error (I used Python).
Global Rank: 441
Totalscore: 48888
Posts: 34
Thanks: 46
UpVotes: 32
Registered: 8y 154d
Martin Thoma`s Avatar

Last Seen: 4y 247d
The User is Offline
RE: Accuracy of the answer
Google/translate1Thank You!1Good Post!0Bad Post! link
I don't understand the Charset.

For example, I got this:
Charset: cwSOMlXTxChYQ8{VmvaN_g4itIUB@uP]6sr5W9Hb1pfkdLA#oD}KZyER0J7q3nj2FzG[e
Input Base: 65
Solution Base: 59
Timelimit: 3.1416 seconds
Equation: _5VJ * @_aj * YNnc * 45YD * l1g * PMb0 * x{8B * hDwp * {ucl * oPsZ * dfm3 * #WgE * 7x}3 * wUFL * ln5W * EgT{ * 9#YD * yAPu * YB0u * D3Z} * f1bN * Ad_J * sh]8
+ AuLX

The Charset has 69 characters. Why? I only need max(input_base, solution_base) = max(65,59) = 65 characters. Can I simply forget the last four characters?

If a normal charset would have been used, would c be 0? Or would e be 0?
Global Rank: 25
Totalscore: 303862
Posts: 35
Thanks: 24
UpVotes: 24
Registered: 7y 235d




The User is Offline
RE: Accuracy of the answer
Google/translate1Thank You!1Good Post!0Bad Post! link
From the description: For example, the uppercase hex charset is 0123456789ABCDEF
Global Rank: 441
Totalscore: 48888
Posts: 34
Thanks: 46
UpVotes: 32
Registered: 8y 154d
Martin Thoma`s Avatar

Last Seen: 4y 247d
The User is Offline
RE: Accuracy of the answer
Google/translate1Thank You!1Good Post!0Bad Post! link
I was quite confused as my algorithm didn't work. I think this might help others:

GeSHi`ed Python code
1
2
3
print toBase10('ff', '0123456789abcdef', 16)
print toBase10('1101', '0123456789abcdef', 2)
print toBase10('123', '0123456789abcdef', 3)

Got 255, 11 and 34 ... aaaah Happy got the error Happy

Testing the functions is always a good idea
Last edited by Martin Thoma - Jul 04, 2011 - 12:11:01
1 2
Redknee, tunelko, silenttrack, qdxy, John W, TheHiveMind, Z, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89 have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 19697 times.