题解列表
小小练手(自学菜鸡版)
摘要:解题思路:如下注意事项:注意左对齐,(作者用了判断语句,但其实用%2.d最好了)参考代码:#include <stdio.h>int main(){ int a,b,c; for(a =1; a<10……
2818 while解法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int x,y; scanf("%d",&a); x=a; whil……
快速幂方法(需掌握)
摘要:参考代码:#include<bits/stdc++.h>
using namespace std;
#define int long long
int fastPow(int a,int n,i……
2881: 图像相似度
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e3;ll a……
2878: 计算矩阵边缘元素之和
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e3;ll a……