2020牛客寒假算法基础集训营6 F.十字阵列

F.十字阵列 题目连接-F.十字阵列 解题思路 用3个数组a[N],b[N]和w[N][N],分别统计对行,列和行列重合的格子形成的伤害便可ios 附上代码c++ #include<bits/stdc++.h> using namespace std; const int N=1e5+5; const int M=1e9+7; const int INF=0x3f3f3f3f; const dou
相关文章
相关标签/搜索