https://www.luogu.com.cn/problem/P1879 题目描述 Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) squar ...
分类:
其他好文 时间:
2020-03-29 09:13:01
阅读次数:
68
转自:https://www.cnblogs.com/clonen/p/6674922.html 顾名思义,best_field就是获取最佳匹配的field,另个可以通过tie_breaker来控制其他field的得分,boost可以设置权重(默认都为1)。 下面从宏观上来讲的简单公式: score ...
分类:
其他好文 时间:
2020-03-18 11:33:48
阅读次数:
63
二维平面上有 $n$ 个点,每两个点间如果连边,那么权值定义为它们距离的平方。只允许连接权值 $\geq C$ 的边,求最小生成树。$n \leq 2000$ Solution 难度:L1 暴力连边然后跑 MST (应该能卡过去吧) ...
分类:
其他好文 时间:
2020-03-14 18:12:46
阅读次数:
50
Map<String, Schema.SObjectField> objectFields = Schema.getGlobalDescribe().get('ObjectName').getDescribe().fields.getMap(); List<String> fieldList = n ...
分类:
其他好文 时间:
2020-03-14 13:03:49
阅读次数:
39
1. 定义变量,存储,每页显示多少条数据 var itemsPage = 25; 2.grid数据源 //列表源 var oStore = Ext.create('Ext.data.Store', { fields: ["a","b","c","d"], autoLoad: false, pageS ...
分类:
其他好文 时间:
2020-03-13 17:10:31
阅读次数:
61
<?php /** * */ function insert($array, $table){ $fields = implode(',', array_key($array)); $values = "'" . implode("','", $array) . "'"; $sql = "INSER ...
分类:
数据库 时间:
2020-03-11 23:22:00
阅读次数:
167
地址 http://poj.org/problem?id=1273 Description Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This mean ...
分类:
其他好文 时间:
2020-03-10 22:03:17
阅读次数:
54
es做日志存储 filebeat做日志收集 kibana做显示 步骤:1,wget filebeat,解压; 2.filebeat.yml+ fields.yml ,前者配置日志的收集配置; filebeat.yml,里面的9202是跳板机的es的开放端口 filebeat.inputs:- typ ...
分类:
其他好文 时间:
2020-03-04 09:36:36
阅读次数:
86
I am the guy who made the Primer Fields video. Sorry for the length of this post, but is has to be long in order to address the issues I am seeing in ...
分类:
其他好文 时间:
2020-02-29 22:31:13
阅读次数:
104
第三次写博客,请多指教! 这篇博客是本人为了回顾思路,各位看官爱看不看(手动滑稽)! http://codeforces.com/contest/1307/problem/D 题目链接 题目大意就是要你从k个特殊点选出两个点连边,问连边之后1到n的最短路距离最大是多少 那么直接说思路,先用bfs找出 ...
分类:
其他好文 时间:
2020-02-28 22:58:23
阅读次数:
63