- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 algorithm头文件常用函数
max() min() abs()max(x, y):返回x和y中的最大值min(x, y):返回x和y中的最小值参数必须是两个,可以是浮点数返回三个数:max(x, max(y, z))abs(x):返回x的绝对值#include <stdio.h>#include <algorithm>using namespace std;int main(){ int x = 1, y = -2; printf("%d %d\n", max(x, y),
2022-01-12 22:56:52
109
原创 蓝桥杯 砝码称重 c语言
蓝桥杯 砝码称重【第十二届】【省赛】求助!!有没有大佬帮孩子看看问题在哪 运行之后总是异常结束题目:我的思路:我的代码:#include <stdio.h>#include <math.h>int main(){ int i,j,n,sum=0,w[15]={0},dp[15][200000]={0},count=0; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d"..
2021-12-28 17:44:26
1693
7
大数据技术实践——Spark词频统计
2021-08-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人