题解列表

筛选

C语言格式输出

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

输出图案,C++

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

计算素数之和

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

八进制输出

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

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

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

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

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

[编程入门]Sn的公式求和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n,Sn = 0,i,a = 0;    scanf("%d",&n);    for(i=0; ……