10154 - Weights and Measures

All about problems in Volume 101. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

lighted
Guru
Posts: 585
Joined: Wed Jun 11, 2014 9:56 pm
Location: Kyrgyzstan, Bishkek

Re: 10154 - Weights and Measures

Post by lighted » Wed Jul 30, 2014 8:07 am

Got Accepted!!! :lol: :lol: :lol:
My implementation with sorted list was wrong. I implemented with array towers of different length.
Every time i try to build longer towers using current turtle. Complexity is O(N x N).
I accepted with sorting by strength and also with my sort method too. :)
Thanks Brianfry for tests! :)
A person who sees the good in things has good thoughts. And he who has good thoughts receives pleasure from life... Bediuzzaman

Post Reply

Return to “Volume 101 (10100-10199)”

Who is online

Users browsing this forum: No registered users and 1 guest