|
|
back to boardShow all messages Hide all messagesI don't understand a problem Why the answer to sample input 1 is "YES" ? If we take i = 2 and j = 3, then (3+0)<>(3-2+1)+3 O(n) PTD_PDP 24 Oct 2004 16:01 Yes, just 373K and it's AC. Check that it's a sequence. very nice problem !!! jus a bit of thinking reqd Re: O(n) Piratek-(akaDK) 2 Aug 2008 19:32 Nice - i agree. For others only 10 strings - AC - 0.015 Re: O(n) Piratek-(akaDK) 2 Aug 2008 19:32 Nice - i agree. For others only 10 strings - AC - 0.015 |
|
|