那个暴力三角函数的,如果判断函数写成:
bool dj(int a,int b,int c){ if( (a+b) > c && (a+c) > b && (b+c) > a) return true; return false; }
就会超时。。。亲测的。暴力真的是刚好擦边过。