题解列表

筛选

水仙花数如何去做

摘要:解题思路:基础or(表达式1;表达式2;表达式3){若干语句}//for循环语句及其格式注意事项:程序结束return 0;不可省。参考代码:#include<stdio.h>int main(){ ……

编写题解 1669: 求圆的面积

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    float r,s;    scanf("%f",&r);    s = 3.1415927 * r * ……

C语言训练-自由落体问题

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

编写题解 1951: 求平方和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int A,B; scanf("%d%d",&A,&B); printf("%d",A*A + B*B); ……