ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1157. Young Tiler

BlackShark AC 0.031 114 KB [1] // Problem 1157. Young Tiler 9 Jan 2009 13:39
You just need to check all possible numbers of L (1..10000) to solve this. So you get O(n^2) solution.
dAFTc0d3r [Yaroslavl SU] Re: AC 0.031 114 KB // Problem 1157. Young Tiler 27 Aug 2010 23:08
BlackShark wrote 9 January 2009 13:39
You just need to check all possible numbers of L (1..10000) to solve this. So you get O(n^2) solution.

Maybe O( n^3/2 )?