1250: 素数回文 摘要:```cpp #include using namespace std; bool a[100001000]; int main() { long long n1,n2,t=0,t…… 题解列表 2023年02月02日 0 点赞 0 评论 273 浏览 评分:9.9
结构体之时间设计C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>struct date{ int year; int month; int d…… 题解列表 2023年02月02日 0 点赞 0 评论 219 浏览 评分:0.0
1249: 简单编码 摘要:```cpp #include using namespace std; int main() { string str; while(getline(cin,str))…… 题解列表 2023年02月02日 0 点赞 0 评论 403 浏览 评分:9.9
第一个写题解的 有点意外哈哈 摘要:```c #include #include int main() { char a[1000]; int flag=0;//flag作为间断点 gets(a);//gets能接收…… 题解列表 2023年02月02日 0 点赞 0 评论 447 浏览 评分:8.0
python两行代码通过 摘要:##### 关于找到规律之后python两行代码通过这件事 ```python n,s=map(int,input().split()) print ((int(s)+int(2**(n+1)-…… 题解列表 2023年02月01日 0 点赞 0 评论 358 浏览 评分:9.0
自定义函数之整数处理(入门必备) 摘要:题目:输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。写三个函数; ①输入10个数;②进行处理;③输出10个数。分析:1,输入10个整数,并实现各个整数的交换,要用到数组(a…… 题解列表 2023年02月01日 0 点赞 0 评论 289 浏览 评分:9.9
递归写法,新手尝试,欢迎优化 摘要:#include<stdio.h> #include<math.h> int Fun(int x) { while (x > 0) { return 2 * ((int)pow(1…… 题解列表 2023年02月01日 0 点赞 0 评论 120 浏览 评分:0.0
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 评论 200 浏览 评分:9.9
甲流病人初筛(结构体做法、C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct person{ char name[10]; float temperat…… 题解列表 2023年02月01日 0 点赞 0 评论 560 浏览 评分:9.9
字符替换C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char beitihuan,tihuanzhe; char a[31]; …… 题解列表 2023年02月01日 0 点赞 0 评论 508 浏览 评分:6.0