Username: 
Password: 
Restrict session to IP 

Accuracy of the answer  Go to the Flow Over Astronomy challenge

1 2
Global Rank: 351
Totalscore: 66935
Posts: 12
Thanks: 12
UpVotes: 14
Registered: 15y 84d



Last Seen: 13y 147d
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: 510
Totalscore: 48925
Posts: 34
Thanks: 49
UpVotes: 36
Registered: 14y 125d
Martin Thoma`s Avatar

Last Seen: 4y 70d
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: 36
Totalscore: 297391
Posts: 35
Thanks: 25
UpVotes: 25
Registered: 13y 206d




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: 510
Totalscore: 48925
Posts: 34
Thanks: 49
UpVotes: 36
Registered: 14y 125d
Martin Thoma`s Avatar

Last Seen: 4y 70d
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, nonfungiblesecurity, John W, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, 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 25087 times.