2012年11月20日

Memory Control HDU 2871

摘要: 题意:模拟存储空间的申请和释放,共四种操作:1.Reset Reset all memory units free.(释放所有的空间)2.New x Allocate a memory block consisted of x continuous free memory units with the least start number(申请一个大小为X个单元的连续存储区间,要求从存储区间的最靠左的地方申请)3.Free x Release the memory block which includes unit x(释放包含X单元的存储区间)4.Get x Return the start 阅读全文

posted @ 2012-11-20 17:26 Acmer_Roney 阅读(237) 评论(0) 推荐(0) 编辑

导航