题解列表
c++自定义函数解法
摘要:解题思路:判断素数,再在主函数中使用循环注意事项:1,2为特殊情况参考代码:#include<iostream> #include<algorithm>using namespace std;bool……
C语言训练-排序问题<2>
摘要:**思路:**
冒泡法
**代码:**
```c
#include
int main()
{
int a[10],i,j,t;
for(i=0;i……
C语言训练-排序问题<1>
摘要:**思路:**
冒泡法
**代码:**
```c
#include
int main()
{
int a[10],i,j,t;
for(i=0;i……
c++字符串简单解法
摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm>using namespace std;int main(){ int n,m; string……
1127: C语言训练-尼科彻斯定理
摘要:**思路:**
首先找等差数列的规律
|第n项|x|x+2|x+4|x+6|...|x+(m-1)*2|
|----|----|----|----|----|----|
|前n项和|x|x……
C语言思路简单,易懂!!! 理解万岁
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main (){ char c[1000]; gets(c); cha……
C语言思路简单,易懂!!! 理解万岁
摘要:解题思路:较长的字符串减去共有的字符就为答案!!!注意事项:参考代码:#include <stdio.h>#include <string.h>#include <math.h>int main ()……
Python才是最牛的,其他的就是Shit!
摘要:import math
print(math.factorial(int(input())))Python 是一种易学易用且功能强大的高级编程语言,具有许多独特的优点,使其成为开发者和数据科学家们的……