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 1628. White Streaks

svr 60000 not very large but... [1] // Problem 1628. White Streaks 12 Oct 2008 00:20
Right math idea was having TLE for
using set and vector after set.
The same idea has AC 0.125 with malloc function for
dynamic arrays.
Giorgi Saghinadze (Tbilisi SU) Re: 60000 not very large but... // Problem 1628. White Streaks 12 Oct 2008 03:17
First , I used map < pair< int , int > , int > for finding lines of length 1 , but gave TLE too, then I did it in O(k) and got AC :)

Edited by author 12.10.2008 03:27