为啥要用longlognlogn???
by lxyeeeee @ 2022-03-12 13:27:30
@[Gril](/user/622751)
```cpp
if(a<b&&b<c){if(!mem[a][b][c])mem[a][b][c] = w(a,b,c-1)+w(a,b-1,c-1)-w(a,b-1,c);}
else if(!mem[a][b][c])mem[a][b][c] = w(a-1,b,c)+w(a-1,b-1,c)+w(a-1,b,c-1)-w(a-1,b-1,c-1);
```
加一对大括号。
by Rad_Forever @ 2022-03-12 13:36:03
@[Rad_Forever](/user/538677) !woc解决了!感谢!
by Gril @ 2022-03-13 00:10:22
@[lxyeeeee](/user/519566) longlong数据范围大点,我懒得判断哪个适合longlong哪个适合int就全用longlong了
by Gril @ 2022-03-13 00:11:10
直接定义long long 为ll不就简单多了吗???
by lxyeeeee @ 2022-03-16 20:26:28