This problem is used in private contest:基础变量定义