题目链接 按此顺序存数的代码 //插入k个1 #include<bits/stdc++.h> using namespace std; int n,k; //n是正方形的边长,k是要插入数的个数 int a[