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 1311. Stable Construction

Please, help.
Posted by VC15 12 Sep 2004 00:42
We have a test.
1
1
12 20

Of course it is stable. But where is the center of gravity. It is (16; 0.5), isn't it?
Just 16, z-coordinate doesn't matter (-)
Posted by Dmitry 'Diman_YES' Kovalioff 12 Sep 2004 11:10
Re: Just 16, z-coordinate doesn't matter (-)
Posted by VC15 12 Sep 2004 23:04
It means that the center of gravity is determined by only x-coordinate, isn't it?
Re: Just 16, z-coordinate doesn't matter (-)
Posted by Diac Paul 12 Sep 2004 23:08
 It dosen't mathers the y coordinate because there is no force to move bricks left or right, just gravity to move then bottom. the center is 16.
Yes, it is (-)
Posted by Dmitry 'Diman_YES' Kovalioff 12 Sep 2004 23:13
Big thanks, but I get WA in test 3.
Posted by VC15 12 Sep 2004 23:58
I can't understand.
2
1
0 2
1
1 3

This configuration is unstable. My program "says" that the center of gravity is 1.5. Is it right?
If it is then it is support brick and system is stable.
What's wrong?
Pleasse, help!!!
BIG-BIG-BIG THANKS TO EVERYBODY!!! I'VE GOT ACCEPTED!!!
Posted by VC15 13 Sep 2004 00:19
I wanna thanks to my mum, to my dad, to dog...
It's a joke. (I don't have a dog)
Thanks to Dmitry 'Diman_YES' Kovalioff and Diac Paul.