Username: 
Password: 
Restrict session to IP 

Accuracy of the answer  Go to the Flow Over Astronomy challenge

1 2
Global Rank: 352
Totalscore: 66925
Posts: 12
Thanks: 12
UpVotes: 14
Registered: 14y 244d



Last Seen: 12y 308d
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: 509
Totalscore: 48912
Posts: 34
Thanks: 49
UpVotes: 36
Registered: 13y 285d
Martin Thoma`s Avatar

Last Seen: 3y 230d
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: 32
Totalscore: 297829
Posts: 35
Thanks: 25
UpVotes: 25
Registered: 13y 1d




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: 509
Totalscore: 48912
Posts: 34
Thanks: 49
UpVotes: 36
Registered: 13y 285d
Martin Thoma`s Avatar

Last Seen: 3y 230d
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, n0tHappy, John W, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, JanLitwin17, SwolloW, dangarbri 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 24049 times.