|
|
back to boardCommon BoardLine painting intervals... In line painting , what kind of intervals do we have? [b,e] (b,e) [b,e) (b,e] or what ? because in the sample input there is black interval from 43 to 47, and in the answer, the longest white interval is from 47 to 634.. Re: Line painting intervals... > In line painting , what kind of intervals do we have? > > [b,e] > (b,e) > [b,e) > (b,e] > > or what ? It doesn't matter, since it doesn't affect the measure of the interval. It's ok for you to output an iterval of the "(b,e)" kind - nobody cares about the color of edges. Re: Line painting intervals... > > In line painting , what kind of intervals do we have? > > > > [b,e] > > (b,e) > > [b,e) > > (b,e] > > > > or what ? > > It doesn't matter, since it doesn't affect the measure of > the interval. It's ok for you to output an iterval of the > "(b,e)" kind - nobody cares about the color of edges.
ok, nobody cares. But i just don't understand which of the four kind of intervals is used in the sample input and output data. It's important for my algorithm i think.
|
|
|