题解列表

筛选

1267:A+B Problem

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

计算多项式的值

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

题解 2829: 数1的个数

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    long long n,sum=0;    cin>>n;  ……

2829: 数1的个数

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

题解 2829: 数1的个数

摘要:解题思路:分离数位注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n,sum=0;    ……

2830: 数字统计

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

1056:温度转换

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

1234: 检查一个数是否为质数

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

2749:计算并联电阻的阻值

摘要:解题思路:注意事项:参考代码:int main(){    float r1 = 0 , r2 = 0 , R;    scanf("%f %f", &r1, &r2);    R = 1 / (1 ……