题解列表

筛选

第一个HelloWorld程序(c语言代码)

摘要:解题思路:输出HelloWorld,我们直接调用注意事项:1:*号的数量必须要一致,不能多也不能少。2:每进行一次printf,需要进行一次换行(\n)。3:HelloWorld后面有一个!这个!不能……

3024: 判断整除

摘要:解题思路: 搜索回溯计算数字序列,注意事项: 在递归之后, 恢复res值以做下次计算参考代码:#include<iostream> #include<algorithm> using namesp……

自由下落的距离计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    float M,N,a,b,sum;    scanf("%f %f",&……

题解 2773: 计算线段长度

摘要:解题思路:注意事项:参考代码:#inalude <bitz/stdc+-.h>uerng namespace std;doqble xa,ya,xb,yb,c;int maie(){    cin>>……

题解 2759: 打印字符

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int a;   cin>>a;   putchar(a);   ……

2885: 矩阵转置

摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m; cin>>n……

题解 2782: 整数大小比较

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

题解 2768: 与圆相关的计算

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   double r;   scanf("%lf",&r);   pr……