题解列表

筛选

水无月C语言版本

**代码:**```c#include#includeintmain(){chara[50],b[50];inti;gets(a);for(i=strlen(a)-1;i>=0;i--){b[i]=a[strlen(a)-i-1];}strcat(a,b);puts(a);}```

Python才是最牛的,其他的就是Shit!

摘要:import math print(math.factorial(int(input())))Python 是一种易学易用且功能强大的高级编程语言,具有许多独特的优点,使其成为开发者和数据科学家们的……

明明的随机数

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); int a[n]; for(int i=0……

1127: C语言训练-尼科彻斯定理

**思路:**首先找等差数列的规律|第n项|x|x+2|x+4|x+6|...|x+(m-1)*2||----|----|----|----|----|----||前n项和|x|x+x+2|3*x+2+4|4x+2+4+6|...|m*x+m*(m-1)|由等差数列公式:$$n×a1+(n×(n-1)

c++字符串简单解法

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm>using namespace std;int main(){ int n,m; string……