1 / 9
Mar 2006

Hi!
I'm not sure what is the rule for 'shifting downwards' in this problem. Suppose during the game we get something like:


______4444__
21111_335555
222____33___

Now I want to put next figure in such a way (marked by '*'):

_____**_____
___*4444
21111*335555
222____33___

What should be the result?

_____**_____
___*4444
222____33___

or

______*_____
___*4444
222__*_33___

or maybe


__**44
222__*4334__

?

With regards,
Pszemsza

  • created

    Mar '06
  • last reply

    Mar '06
  • 8

    replies

  • 1.3k

    views

  • 4

    users

  • 1

    link

Thanks a lot..
Just to be sure:

_____*____
____**____
1111*33355
2222__4444

should transform to


_____*____

, right?

What about

___**_____
1111*88855
2222*_4444
3333____66
7777____66

?

Something like

___**_____
2222__4444
3333____66
7777*___66

?

_____*____
____**____
1111*33355
2222__4444

Transform to

_____*____
____**____
2222__4444

___**_____
1111*88855
2222*_4444
3333____66
7777____66

Transform to:

___**_____
2222*_4444
3333____66
7777____66

May be I should open the judge to public? Is this good idea or not?

No, I don't think so now smile
The rule is simpler than I thought and that is the reason I was a little confused. After all, I think it's a good idea to add few words of comment to the problem description saying that falling down when line is full is just moving everything what is above this one (or how many these full-lines are) line down, nothing more. Or is it obvious...?

I think everything is clear for me now, thanks.
Sorry for my English smile

I thought that evrybody have played tetris. =)
Once a line is filled up, it is removed and all lines above it are appropriately shifted downwards. - this line in problem description IMHO makes it clear.

Yes, I played Tetris too smile, but it was long ago, and I was sure this 'shifting downwards' was more complicated...

Ohh... Yes, there is something like that... Sorry for bothering..

I agree, normally the shifting downwards is more complicated. Every figure stays connected all the time (maybe losing some of its blocks). But it does not necessarily remain connected to other figures, so if there is place below that a whole figure can go downwards, it will go downwards.

Yes, this is how the tetris I know works. Anyway, I guess it doesn't make the problem easier changing this shifting downwards thing.

Actually, may be you are right, because I played "classic" tetris long time ago. The basis for given problem is battle-tetris from tetrisarena.ru