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 1006. Square Frames

How many frames are there on screen?
Posted by zinccopper 28 Nov 2007 06:12
In the description, it first says "N square frames (1 ≤ N ≤ 15) were sequentially drawn on screen". Then it says "However, it should not contain more than 2000 frames".
How many frames are there on screen, 15 or 2000?
Re: How many frames are there on screen?
Posted by deitytoday 21 Aug 2008 12:33
I want to ask that, too

would somebody help?
Re: How many frames are there on screen?
Posted by Daniel Mahu 4 Apr 2009 22:38
The solution may output more frames than were initially drawn - if two frames overlap and it detects a third frame made from the overlapping parts. It should still be accepted if the total number of frames < 2000.

That said, it shouldn't be a concern if you output at most one frame per input char (i.e., you don't output frames with no reason at all) because there are less input chars than 2000 (20x50 = 1000).
Re: How many frames are there on screen?
In reference to the problem statement, there are 1 - 15 square frames on the screen and there are 1 - 2000 frames (characters other than dots) on the screen