题解列表

筛选

2000: 偶数列举

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){  int n;  cin>>n;  for (int i=……

3010 奇偶数之和

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){  int n,sum1=0,sum2 =0;  cin>>……

3010 奇偶数之和

摘要:解题思路:循环1到n的所有数字, 判断奇偶数,分别求和,最后输出注意事项:sum1 需要使用+= 号  参考代码:#include <bits/stdc++.h>using namespace std……

2886: 图像旋转

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1000;ll a……

1242: 矩阵转置

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1000;ll a……

题解 1242: 矩阵转置

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e3+5;int a[N][N];int main(){……

2877: 同行列对角线的格子

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1000;ll a……