Revert "modify main.cpp"

This reverts commit e817ffae7e26d4548c6e85ed7becadd72304c29a.