题解列表

筛选

[编程入门]迭代法求平方根

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

计算线段长度C语言

摘要:解题思路:勾股定理注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){    double xa,ya,xb,yb;    scanf("%l……

题解 2831: 画矩形

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b,d;    char c;    cin>>a……

2831: 画矩形

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

题解 2831: 画矩形(简)

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

2831: 画矩形

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

题解 1267: A+B Problem

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

简单方法实现数字逆序输出

摘要:解题思路:创建数组存储数据,利用两个for循环即可实现第一个for循环:用于拿到用户输入的10个数字,存入数组第二个for循环:倒着输出创建的数组注意事项:参考代码:#include<iostream……