1243: 破解平方数 摘要:```cpp #include #include using namespace std; typedef long long ll; int t,m,r[101]; ll DFS(int…… 题解列表 2023年02月01日 0 点赞 0 评论 536 浏览 评分:9.9
1951 求平方和 题解 摘要:只要用a2+b22就行了参考代码一:#includeusing namespace std;int main(){ int a,b; cin>>a>>b; cout<<a*a+b*b…… 题解列表 2023年02月01日 0 点赞 0 评论 613 浏览 评分:9.9
字符串编辑 略微麻烦 摘要:解题思路:分功能解决注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string a; …… 题解列表 2023年02月01日 0 点赞 0 评论 436 浏览 评分:9.9
1247: 筛排处理 摘要:```cpp #include #include using namespace std; int main() { int n; while(cin>>n&&n) …… 题解列表 2023年02月01日 0 点赞 0 评论 398 浏览 评分:9.9
1248: 简单的事情 摘要:```cpp #include using namespace std; unsigned long long int jiecheng(int n) { if(n==0) …… 题解列表 2023年02月01日 1 点赞 0 评论 499 浏览 评分:9.9
甲流病人初筛(结构体做法、C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct person{ char name[10]; float temperat…… 题解列表 2023年02月01日 0 点赞 0 评论 720 浏览 评分:9.9
1157 亲和数 利用函数解决 摘要:#include<stdio.h>#include<math.h>int fun(int n){ int i,a,b,c,m,sum=0; m=sqrt(n);//可提高效率 for(i=2;i<=…… 题解列表 2023年02月01日 0 点赞 0 评论 356 浏览 评分:9.9
自定义函数之整数处理(入门必备) 摘要:题目:输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。写三个函数; ①输入10个数;②进行处理;③输出10个数。分析:1,输入10个整数,并实现各个整数的交换,要用到数组(a…… 题解列表 2023年02月01日 0 点赞 0 评论 477 浏览 评分:9.9
1249: 简单编码 摘要:```cpp #include using namespace std; int main() { string str; while(getline(cin,str)) …… 题解列表 2023年02月02日 0 点赞 0 评论 573 浏览 评分:9.9
1250: 素数回文 摘要:```cpp #include using namespace std; bool a[100001000]; int main() { long long n1,n2,t=0,t…… 题解列表 2023年02月02日 0 点赞 0 评论 433 浏览 评分:9.9