#include
#include
#include
using namespace std;
const int maxn=805;
int A[maxn][maxn];
int B[maxn][maxn];
int C[maxn][maxn];
int main()
{
//freopen("data.txt","r",stdin);
int n;
while(scanf("%d",&n)!=EOF)
{
for(int i=0;i
代码如下: