题解列表

筛选

1250: 素数回文

摘要:```cpp #include using namespace std; bool a[100001000]; int main() { long long n1,n2,t=0,t……

结构体之时间设计C语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>struct date{    int year;    int month;    int d……

1249: 简单编码

摘要:```cpp #include using namespace std; int main() { string str; while(getline(cin,str))……

python两行代码通过

摘要:##### 关于找到规律之后python两行代码通过这件事 ```python n,s=map(int,input().split()) print ((int(s)+int(2**(n+1)-……

自定义函数之整数处理(入门必备)

摘要:题目:输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。写三个函数; ①输入10个数;②进行处理;③输出10个数。分析:1,输入10个整数,并实现各个整数的交换,要用到数组(a……

字符替换C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char beitihuan,tihuanzhe; char a[31]; ……