Skip navigation

Tag Archives: project euler

Only one more project euler problem and I am level one :D

EDIT: YAY level 1

Now that you have solved 25 problems you have achieved what 80.26% of members have failed to do and have advanced to level 1

I just noticed that I have done all the python stuff on my laptop where I saved my executables in a directory called bin/ and all my C stuff on my desktop where I saved all my executables in a directory called scripts/

(The reason I’ve done that is because I set up my vimrc for C or Python on my desktop and laptop respectively, the reason that I named the folders that way was because I made the scripts directory for the first bash scripts I did and the bin directory to put world of goo in).

Someone on irc told me about this thing: http://projecteuler.net.

I’ve only done the first one so far (got kinda distracted by trying to put a whole bunch of disparate functions that seemed like they might be useful again sometime in a file and then trying to figure out how to add it’s path to the path for includes – which I did eventually by aliasing gcc to gcc -Idir in my .bashrc, dunno if that is a silly way or not – I think for my next distraction I should work out how to write makefiles :p).

I think it might be kind of fun to do one each day because at the moment I am in a bit of a “schedule fetishism” mood (this normally happens to me much earlier in the long unstructured summer, I think it took so long because I actually spent my time doing stuff spontaneously this year instead of just clicking “refresh” in my browser on some forum like I’ve normally done) ever since I decided to try and get myself up to speed with my maths (also, anyone reading this have any recommendations for a good stats book that would cover the stuff I would have missed out on by not doing A level stats? Because online reviews honestly do not give me a good idea of what to expect from this or that book and the range in local bookshops leaves much to be desired)).

Follow

Get every new post delivered to your Inbox.