there little time leave release national operating system berlos some component finish memory manager accord developer plan release memory manager simple rectilinear it support operation alloc n allocate n byte memory return allocate block identifier x erase x erase block identifier x defragment defragment free memory bring block close beginning memory possible preserve respective order the memory model case simple it sequence m byte number convenience mthThe operation alloc n take parameter size memory block allocate while process operation free block n successive byte allocate memory if block block close beginning memory ie byte prefer all byte mark free memory manager return 32bit integer numerical token identifi block if impossible allocate free block size function return nullthe second operation erase x take parameter identifi block this operation free system memory mark byte block free use in case identifier point previously allocate block erase function return illegal_erase_argumentthe operation defragment argument simply bring occupy memory section close begin memory change respective orderin current implementation use successive integer start 1 identifier each successful alloc operation procession return follow number unsuccessful alloc operation affect numerationyou write implementation memory manager you output return value alloc command you output illegal_erase_argument fail erase command