题解列表

筛选

编写题解 2771: 大象喝水

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

2769: 计算并联电阻的阻值

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

2757: 浮点数向零舍入

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

以自己理解写的,比较简单

摘要:解题思路:注意事项:尽量在b[y][x] = a[y][x]时把a[x][y]改掉参考代码:#include<stdio.h>int main(){     int x, y;     int a[3……

2939: 最匹配的矩阵(超详解)

摘要:```c #include #include #include #include // 计算矩阵A的子矩阵与矩阵B的差值绝对和 int calculate_diff(int **A……