题解列表
C语言思路简单,易懂!!! 理解万岁
摘要:解题思路:较长的字符串减去共有的字符就为答案!!!注意事项:参考代码:#include <stdio.h>#include <string.h>#include <math.h>int main ()……
1979: 求平均工资
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n;
……
石头剪刀布 简单易懂(来个五星兄弟们)!!!!
摘要:解题思路:石头剪刀布的长度不同 所以用strlen 区分注意事项:简单易懂兄弟们 不懂可以私信我参考代码:#include<stdio.h>#include<string.h>int main(voi……
计算输入数据的和与乘积(用char数组存)
摘要:参考代码:
```c
#include
#include
int main()
{
char a[100];
gets(a);
int len=strlen(a);
int ……
C语言训练-阶乘和数*
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int Weishu(int n)//判断位数{ int i = 0; while (n ……
蓝桥杯算法训练-数据交换
摘要:参考代码:
```c
#include
void swap(int *x,int *y)
{
int t=*x;
*x=*y;
*y=t;
}
int mai……
C++_dfs容易理解
摘要:解题思路:10个位置每个位置上找到满足的数放置注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int n;int ar……