17
SlimeT
1 12 21
1180/ 1695
George Karachalias
Last seen 8 years ago
Member for 10 years, 3 months, 13 days
Difficulty Normal
Best reviews / Newest reviews
O(n)-SlimeT 1 1
I guess I should have picked a different name: while(tau(i)<=n): sigmas.append(sigma(i)) i = i+1 the above runs in ![equation](http://latex.codecogs.com/gif.latex?O(\sqrt{n}\)) and creates a list of the same length. The next loop does at most 2 passes, hence two more ![equati More
95chars :(-SlimeT
Aaaargh, I was thaaaat close! :( Next time I'll try a bit more.. More
O(n)-SlimeT
hmmm, I guess you're right. I'll try once more then! More
nested-SlimeT
Oops, you're absolutely right, it's totally redundant. thnx! More