题解列表
1979: 求平均工资
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n;
……
计算输入数据的和与乘积(用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……
题解 2799: 奥运奖牌计数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,b1=0,c1=0,d1=0,s; ……
【Python】如何一行解决这道题
摘要:解题思路:普通的思路注意事项:没什么注意的参考代码:print(sum(list(map(int, [i*'2' for i in range(1,int(input())+1)]))……