rt, CSPJ T3中我写了一段这样的程序
struct cmptr{ int a,b,c,d,e; operator==(const cmptr&x)const{ if(x.a==a&&x.b==b&&x.c==c&&x.d==d&&x.e==e){ return 1; }else{ return 0; } } }srvr[1005];
个人电脑上和考场电脑上都可以正常运行,但是在洛咕的编译器上就需要在operator前面加上bool
求救 有点怕死