struct node{ int val,s,t; bool operator<(node no,node de){ return no.val>de.val; } };
上面这段结构体定义会:
但是加上friend可以
请问这是为啥。。(friend啥