字符串分类统计C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){char a[200];cin.get…… 题解列表 2024年08月07日 6 点赞 0 评论 830 浏览 评分:0.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int min(int a,int b){ return a>b?b:a;}int ma…… 题解列表 2024年08月07日 0 点赞 0 评论 252 浏览 评分:0.0
编写题解 2908: 白细胞计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int N=310; double a[N];in…… 题解列表 2024年08月07日 0 点赞 0 评论 226 浏览 评分:0.0
编写题解 2907: 不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int N,a[100],sum=0,x=0; …… 题解列表 2024年08月07日 0 点赞 0 评论 329 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int s(int n){ int ans=0; for(int i=1;i<n;i…… 题解列表 2024年08月06日 0 点赞 0 评论 498 浏览 评分:0.0
2841: 大整数加法 摘要:```cpp #include using namespace std; struct hp { int len; int s[1000]; }; void init(string…… 题解列表 2024年08月05日 0 点赞 0 评论 421 浏览 评分:9.9
2116: 信息学奥赛一本通T1307-高精度乘法 摘要:```cpp #include using namespace std; struct hp { int len; int s[1000]; }; void init(string…… 题解列表 2024年08月05日 0 点赞 0 评论 506 浏览 评分:0.0
编写题解 1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:常规解题思路注意事项:精度位数,中英文符号。参考代码:#include<stdio.h>main(){ float a; scanf("%f",&a); printf("%.3f",a); …… 题解列表 2024年08月05日 1 点赞 0 评论 326 浏览 评分:9.9
2945: 素数对 摘要:```cpp #include using namespace std; bool js(int x){ int j=2; while(jsqrt(x); } int main()…… 题解列表 2024年08月04日 0 点赞 0 评论 182 浏览 评分:0.0
2937: 短信计费 摘要:```cpp #include using namespace std; int jf(int n,int a[]){ double s=0; for(int i=0;in; int…… 题解列表 2024年08月04日 0 点赞 0 评论 224 浏览 评分:0.0