题解 3158: 蓝桥杯2023年第十四届省赛真题-三国游戏

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

三国游戏 - 暴力搜索

```c++#includeusingnamespacestd;typedeflonglongLL;constintN=1e5+10;intx[N],y[N],z[N],w[N];intn;intwork(inta[],intb[],intc[]){intres=-1;for(inti=0;i