就是这个啊#include <algorithm>
#include <algorithm>
或者改成 a>b?a:b 这种格式或者 #define mymax(a,b) (a>b?a:b);
a>b?a:b
#define mymax(a,b) (a>b?a:b);