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 1220. Stacks

I get AC with 0.109s 692k
Posted by onealwj 16 Aug 2012 16:28
I use a block of continuous memory, divide the memory into Block(50 int).and each last one of Block is used to store the block number of previous Block in a same stack.moreover,I use two arrays to identify whether the Block is free and  to store offset in a Block respectively.Finally, I use an array[1000] to store the number of Block are being used in a stack.
Re: I get AC with 0.109s 692k
Posted by Ayman Abbas 16 May 2014 13:36


Edited by author 16.05.2014 13:38