聚合函数 函数返回值型 函数(参数) 描述 BIGINT count(*), count(expr), count(DISTINCT expr[, expr...]) 1.统计总行数,包括含有 NULL 值的行 2.count(expr) 统计提 供非 NULL 的 expr 表达式 值的行数 3. ...
分类:
其他好文 时间:
2021-02-10 13:04:58
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0
具体如下,注意把 D:\Program Files\MVTec\HALCON-18.11-Progress\bin\x64-win64添加到系统path环境变量中,这样就不用每次把halcon的dll文件复制到exe处了。 #引用的Qt模块 QT += core gui #最低版本 greaterT ...
分类:
其他好文 时间:
2021-02-10 12:50:45
阅读次数:
0
原题 1 class Solution: 2 def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]: 3 dic1,dic2 = {},{} 4 def helper(nums,dic): 5 for n in nu ...
分类:
编程语言 时间:
2021-02-10 12:50:25
阅读次数:
0
题目描述 一个长度为n-1的递增排序数组中的所有数字都是唯一的,并且每个数字都在范围0~n-1之内。在范围0~n-1内的n个数字中有且只有一个数字不在该数组中,请找出这个数字。 示例1 输入: [0,1,3] 输出: 2示例2 输入: [0,1,2,3,4,5,6,7,9] 输出: 8 思路:使用二 ...
分类:
其他好文 时间:
2021-02-09 12:41:19
阅读次数:
0
http://codeforces.com/contest/1467/problem/B 题意 \(一个数列里有波峰波谷\) \(波谷:a[i]<min(a[i+1],a[i-1]])\) \(波峰:a[i]>max(a[i+1],a[i-1])\) \(sum = 波峰数+波谷数\) \(若可以任 ...
分类:
其他好文 时间:
2021-02-09 12:30:17
阅读次数:
0
# File类 - java.io.File 父类是Object 跟IO流没有关系,不能进行读和写 - File对应的可能是**目录**也可能是**文件** - File只是路径名的抽象表达形式 ## File的常用方法 ~~~ java package com.jiang.io; import j ...
分类:
其他好文 时间:
2021-02-09 12:27:59
阅读次数:
0
DFS层次遍历,设置层数n,在node中按层数创建该层的数组,dfs时每层加入该层对应数组。 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNo ...
分类:
其他好文 时间:
2021-02-09 12:27:15
阅读次数:
0
path = "E:\\收藏夹\\C41\\C41" for filewalks in os.walk(path): pass # 生成器的输出为返回的是一个三元组(root, dirs, files),root表示当前目录,dir为当前root目录下的文件夹,files为当前root目录下的文件 ...
分类:
编程语言 时间:
2021-02-09 12:11:54
阅读次数:
0
题意: 戳这里 分析: \[ D=\sum_{j=1}^nA_{1,j}\times (\sum_{i=1}^nA_{1,i}B_{i,j}-C_{1,j}) \] 我们观察式子可以发现 \(B_{i,j}\) 会被选当且仅当 \(A_{1,i},A_{1,j}\) 都为 1,\(-C_{1,j}\ ...
分类:
其他好文 时间:
2021-02-09 11:54:55
阅读次数:
0