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 1278. “… Connecting People”

What does this problem mean?
Posted by Failed Peter 1 Apr 2004 14:42
Re: What does this problem mean?
Posted by Khlyzov Andrew 20 Jul 2004 18:37
See how it works (sample input 2):
These are memory cells:
0:CALL 3
1:CALL 3
2:CALL 3
3:BELL&RET
Before operatons stack is empty
First the first command is executed. Stack becomes (1),IP-3
BELL&RET is executed. Then IP pop-ups to 1 (from stack).
The second command is executed. Stack becomes (2) and so on.
The result is 4 executed commands 'BELL&RET'
Re: What does this problem mean?
Posted by Edric Mao 5 Nov 2011 19:02
i see now