题解列表

筛选

题解 2772: 苹果和虫子

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

题解 2766: 甲流疫情死亡率

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

题解 2767: 计算多项式的值

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

编写题解 1014: [编程入门]阶乘求和

摘要:因为这是阶乘求和,一般的int 类型可能就不够,因此我们利用long long int 类型(不用unsigned long 因为当n为20时,Sn =2561327494111820313) ``……

c语言 ,这样做才简单!!

摘要:解题思路:基础C语言注意事项:无参考代码:#include<stdio.h>int main(){    int i,a[10];    for(i=0;i<10;i++) scanf("%d",&a……

还是不理解为啥错了

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int ans = 0,maxx,flag,l,k,q,p;……