Messing around with SPOJ, Code Chef, and such