题解列表

筛选

1081: Infinite Dictionaries

```cpp#include#include#includeusingnamespacestd;structrec{intflag,x,z;stringy;rec(){flag=0;x=0;y="";z=0;}};booloperatorsecond.z))return1;used1[it->seco

1080: 战场的数目

```cpp#include#includeusingnamespacestd;typedeflonglongLL;constLLmod=987654321;LLA[1][2],B[2][2],T[1][2],ans[2][2];voidinit(){B[0][0]=3;B[0][1]=T[0][1]

1079: 射击游戏

```cpp#include#include#includeusingnamespacestd;intn;doubledp[7][7][7][7][7][7];doubledfs(int*h){if(dp[h[0]][h[1]][h[2]][h[3]][h[4]][h[5]]!=-1)returndp