1247: 筛排处理 摘要:```cpp #include #include using namespace std; int main() { int n; while(cin>>n&&n) …… 题解列表 2023年02月01日 0 点赞 0 评论 270 浏览 评分:9.9
1248: 简单的事情 摘要:```cpp #include using namespace std; unsigned long long int jiecheng(int n) { if(n==0) …… 题解列表 2023年02月01日 0 点赞 0 评论 369 浏览 评分:9.9
甲流病人初筛(结构体做法、C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct person{ char name[10]; float temperat…… 题解列表 2023年02月01日 0 点赞 0 评论 598 浏览 评分: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 评论 237 浏览 评分:9.9
自定义函数之整数处理(入门必备) 摘要:题目:输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。写三个函数; ①输入10个数;②进行处理;③输出10个数。分析:1,输入10个整数,并实现各个整数的交换,要用到数组(a…… 题解列表 2023年02月01日 0 点赞 0 评论 346 浏览 评分:9.9
1249: 简单编码 摘要:```cpp #include using namespace std; int main() { string str; while(getline(cin,str))…… 题解列表 2023年02月02日 0 点赞 0 评论 442 浏览 评分: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 评论 314 浏览 评分:9.9
1251: 统计字母个数 摘要:```cpp #include using namespace std; int a[123]; int main() { string s; int l=0,sum=0…… 题解列表 2023年02月02日 0 点赞 0 评论 485 浏览 评分:9.9
1085: A+B for Input-Output Practice (I) 摘要:```csharp #include using namespace std; int main() { int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月02日 0 点赞 0 评论 600 浏览 评分:9.9
2809: 菲波那契数列 c 摘要:解题思路:设置两个变量循环加法,循环变量+2,最终判断用k是奇数还是偶数注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int k, a=…… 题解列表 2023年02月02日 0 点赞 0 评论 864 浏览 评分:9.9