package com.sjw.flink import org.apache.flink.api.scala._ object WordCount { def main(args: Array[String]): Unit = { //创建批处理执行环境 val env: ExecutionEnv ...
分类:
其他好文 时间:
2020-07-10 00:05:16
阅读次数:
84
微信小程序发布有一段时间了,但目前小程序的兼容性问题,特别是 Android 平台兼容性问题,特别严重。据我观察,好多小程序都曾踩过兼容性的坑。 掉坑里不要紧,更让人捉急的是,微信审核人员打回了紧急修复兼容性的版本。这就好比从坑里爬上来的时候,手刚抓到坑沿,又被微信官方踩到,再次跌落坑底。 这下,就 ...
分类:
微信 时间:
2020-07-09 23:55:59
阅读次数:
220
problem 1010. Pairs of Songs With Total Durations Divisible by 60 参考 1. leetcode_1010. Pairs of Songs With Total Durations Divisible by 60; 完 ...
分类:
其他好文 时间:
2020-07-09 22:47:52
阅读次数:
73
problem 1122. Relative Sort Array solution1: code 哈希表 solution2: code: 思路 解题思路: 首先解读题意。arr2的元素都是独一无二的,并且都所属于arr1。arr1中可能包含重复元素。目标是将arr1中的元素重新排序,排序规则是1 ...
分类:
其他好文 时间:
2020-07-09 22:34:40
阅读次数:
72
problem 1013. Partition Array Into Three Parts With Equal Sum 不明白的点: 有可能很多个part,前N个part之和满足sum的1/3或者2/3,然后前N+k个part也能够满足sum的1/3或者2/3,也就是说可能不止一种组合; 而本题 ...
分类:
其他好文 时间:
2020-07-09 22:15:32
阅读次数:
66
public function ggg(){ $s = $this->cny('122'); echo $s; //壹佰贰拾贰元 } /*** *人民币大写转化;~~~ */ private function cny($ns) { static $cnums = array("零","壹","贰", ...
分类:
其他好文 时间:
2020-07-09 19:44:01
阅读次数:
76
Redis 应用 一、Redis 应用 1.1.1 Redis 介绍 Redis 介绍 Redis 是一种基于键值对(key value)的 NoSQL(非关系型) 数据库,与很多键值对数据库不同, redis 中的值可以有 string,hash,list,set,zset,geo 等多种数据结构 ...
分类:
其他好文 时间:
2020-07-09 19:24:49
阅读次数:
86
Description Given an array of integers A, find the number of triples of indices (i, j, k) such that: 0 <= i < A.length 0 <= j < A.length 0 <= k < A.le ...
分类:
其他好文 时间:
2020-07-09 19:24:31
阅读次数:
58
powershenll 用户批量移动ou脚本,for与if多嵌套,输出变量是否存在文本文档中
分类:
移动开发 时间:
2020-07-09 19:23:02
阅读次数:
163
[JavaScript 中文开发手册arguments.@@iterator (Function) - JavaScript 中文开发手册@@iterator属性的初始值是和Array.prototype.values属性的初始值相同的对象。] 本文标题:arguments.@@iterator (... ...
分类:
编程语言 时间:
2020-07-09 12:11:16
阅读次数:
64