题解列表

筛选

2766: 甲流疫情死亡率

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

题解 2797: 最高的分数

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

2765: 计算分数的浮点数值

摘要:解题思路:注意事项:不要定义成整数参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){    double a……

计算多项式的值(C++)

摘要:解题思路:注意事项:作者很懒什么也没留下                                                                  &

2809: 菲波那契数列

摘要:``` #include using namespace std; int main(){ int k,a=1,b=1,c=a+b; cin>>k; if (k ……

整数大小的比较

摘要:解题思路:注意事项:输出的是字符注意引号的使用参考代码:x,y=map(int,input().split())if x > y:        print(&#39;>&#39;)    elif ……

1001c语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf("**************************\n"); printf("Hello W……

1002c语言代码

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

简单思路-数组的使用

摘要:解题思路:先用一个数组录入所有数字,我们把它叫做“无序数组”,然后通过不断的筛选最大值,并将原来的最大值取0,以找到剩余的数中的最大值,最后创造一个“有序数组”来依次存放它们,输出这个数组即可。注意事……