Update test_mem.c

change the print way let the calcu to be easy