COMP2401 - Assignment #4(Due: Sun. Mar 15, 2020 @ 6pm)In this assignment, you will gain practice dynamically allocating/freeing memory as well as work ...
分类:
其他好文 时间:
2020-03-08 19:38:57
阅读次数:
73
题目链接:https://www.luogu.com.cn/problem/P1074 详细讲解:https://www.luogu.com.cn/blog/cpp/solution-p1074 当暴力过不了的时候也可以考虑改变搜索的起点从而减少搜索树的大小 #include <algorithm> ...
分类:
其他好文 时间:
2020-03-06 23:57:56
阅读次数:
110
1 #include<bits/stdc++.h> 2 3 using namespace std; 4 5 const int N = 1e5; 6 7 struct node{ 8 int key; 9 int value; 10 //方法一 重载小于运算符 11 bool operator < ...
分类:
编程语言 时间:
2020-03-06 12:45:04
阅读次数:
73
题目要求: 我们学院经常组织各项技能比赛,例如电脑文化节中Flash作品比赛,台下有10位评委来评判参赛者的作品,评委打分:0-100分的整数,参赛者最终得分是去掉一个最高分,去掉一个最低分,所剩分数的平均分。 要求设计一个软件,可以连续输入10位评委的成绩,并且可以无限次计算参赛者的成绩(提示,不 ...
分类:
其他好文 时间:
2020-03-06 01:44:25
阅读次数:
250
参考文档 "Flink科普系列之State(状态)" "Flink状态管理详解:Keyed State和Operator List State深度解析" "Flink 面试通关手册" "推荐两个不错的flink项目" ...
分类:
其他好文 时间:
2020-03-06 01:41:21
阅读次数:
37
YAML的块序列表示一系列节点。 每个项目都由一个前导 - 指示符表示。 请注意,YAML中的-指示符应与具有空格的节点分开。 块序列的基本表示如下 - block sequence: ··- one↓ - two : three↓ YAML 示例 请观察以下示例以更好地理解块序列。 示例1 por ...
分类:
其他好文 时间:
2020-03-06 01:22:08
阅读次数:
63
prometheus-operator 配置企业微信报警
分类:
微信 时间:
2020-03-05 19:17:55
阅读次数:
420
1 #include <iostream> 2 #include <algorithm> 3 #include <cstring> 4 #include <queue> 5 using namespace std; 6 typedef long long LL; 7 struct node{ 8 i ...
分类:
其他好文 时间:
2020-03-04 19:12:44
阅读次数:
65
直接给代码 1 # -*- coding: UTF-8 -*- 2 from math import log 3 import operator 4 5 """ 6 函数说明:计算给定数据集的经验熵(香农熵) 7 8 Parameters: 9 dataSet - 数据集 10 Returns: 1 ...
分类:
其他好文 时间:
2020-03-03 18:55:57
阅读次数:
69
1,在Linux环境上下载gcc,通过源码安装得通过cc编译器进行安装。这时候得下载gcc。这时候使用root用户进行安装。 yum -y install gcc 2,接着编译需要使用jemalloc。得下载jemalloc 编译。使用yum安装得添加一下仓库源。改完仓库源,这时候就可以使用 yum ...
分类:
系统相关 时间:
2020-03-02 22:54:57
阅读次数:
376