题解列表

筛选

题解 2758: 打印ASCII码

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

编写题解 2776: A*B问题

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

题解 2771: 大象喝水

摘要:解题思路:首先输入高和半径,然后求体积,再用20L除以体积。注意事项:在这里pi=3.14159。参考代码:#include <bits/stdc++.h>using namespace std;in……

2990: 十进制到八进制

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

编写题解 2918: 成绩排序

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u {     int k;     string s……

整数序列的元素最大跨度值

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

奥运奖牌计数

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

编写题解 2772: 苹果和虫子

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