linux下自己define min与max,当using namespace std时会与std中定义的min、max冲突,会优先使用std中的定义,解决方法是在using namespace std后加上#undef min与#undef max两行代码再去define min与max