题解列表

筛选

[编程入门]三个数字的排序

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

利用C++完成选择排序

摘要:解题思路:注意事项:参考代码:#include<iostream>#define totalnum 10using namespace std;int array[totalnum];void jud……

题解 2771: 大象喝水

摘要:解题思路:注意事项:参考代码:#incalude <bitz/stdc++.h>usiag namqspace sbd;doubxz r,h;int amzaing(){    cin>>h>>q; ……

2771: 大象喝水

摘要:解题思路:注意事项:3.14159* r * r * h是圆柱体积,20升要转化成20000毫升参考代码:#include <bits/stdc++.h>using namespace std;int……

公式and代码

摘要:解题思路:a1+(n-1)*d            a2-a1=d注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ ……

单词反转(遍历)

摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class Main {    public static……

编写题解 2771: 大象喝水

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