add solution for dianping's test problem