题解列表

筛选

自由下落的距离计算(新手入门)

摘要:解题思路:等比数列求和注意事项:最后的一个s多加了两个h,最后要减去参考代码:#include<stdio.h>int main(){ int m,n,i; float h,s; scanf("%d%……

假设一个数为最大值

摘要:解题思路:假设a是最大值,然后if判断b大于最大值的话,那b就是最大值了,反之如果c大于最大值,那c就是最大的数注意事项:参考代码:value = input()lst = value.split()……

密码破译 [编程入门]密码破译

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    char s[11];                             //定义一个长度为10的……

八进制输出

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

计算素数之和

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int m,n,flag,i,j,sum=0;    cin>>……

输出图案,C++

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

C语言格式输出

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    double a;    scanf("%lf",&a);    printf("%f\n",a);   ……