码迷,mamicode.com
首页 >  
搜索关键字:sep    ( 2064个结果
Kafka常用topic操作命令汇总
"offset" "topic" "consumer group" "consumer" "producer" "producer golang" topic 工具 "https://cwiki.apache.org/confluence/display/KAFKA/Replication+tool ...
分类:其他好文   时间:2020-02-09 18:42:32    阅读次数:243
shell编程题(三十三)
题目: 获得访问前10位的ip地址 答案: awk '{print $1}' access.log | sort | uniq -c | sort access.log 172.16.8.11 - - [19/Sep/2018:12:35:21 +0800] "GET /console/stat/o ...
分类:系统相关   时间:2020-02-09 13:11:54    阅读次数:113
Python-内置函数1、匿名函数、闭包
匿名函数 lambda x:x 定义函数的关键字 x: 形参 可以写多个,也可以不写 :x 返回值 必须写,只能写一个数据类型 内置函数(2) 字典创建新简便方法: # dict(k=1) # dict([(1,2)]) # dict(**dic1,**dic2) print()sep:每个元素的分 ...
分类:编程语言   时间:2020-02-08 17:56:59    阅读次数:81
Java中InputStream和String之间的转换方法
在Java中InputStream和String之间的转化十分普遍,本文主要是总结一下转换的各种方法,包括JDK原生提供的,还有一些外部依赖提供的。 1、InputStream转化为String1.1 JDK原生提供方法一:byte[] bytes = new byte[0];bytes = new ...
分类:编程语言   时间:2020-02-07 16:57:54    阅读次数:65
springMVC:SSM整合
环境要求 环境: IDEA MySQL 5.7.19 Tomcat 9 Maven 3.6 要求: 需要熟练掌握MySQL数据库,Spring,JavaWeb及MyBatis知识,简单的前端知识; 数据库环境 创建一个存放书籍数据的数据库表 CREATE DATABASE `ssmbuild`; U ...
分类:编程语言   时间:2020-02-06 23:01:00    阅读次数:103
PTA乙级 (*1044 火星数字 (20分))
1044 火星数字 (20分) https://pintia.cn/problem-sets/994805260223102976/problems/994805279328157696 #include <iostream> #include <cstdio> #include <cstring> ...
分类:其他好文   时间:2020-02-04 00:25:01    阅读次数:79
数组中的逆序对
题目描述 在数组中的两个数字,如果前面一个数字大于后面的数字,则这两个数字组成一个逆序对。输入一个数组,求出这个数组中的逆序对的总数P。并将P对1000000007取模的结果输出。 即输出P%1000000007 传送门 归并排序的思想//去掉result就是纯归并 class Solution { ...
分类:编程语言   时间:2020-02-03 22:21:21    阅读次数:92
朴素贝叶斯分类器Naive Bayes
优点Naive Bayes classifiers tend to perform especially well in one of the following situations: When the naive assumptions actually match the data (very ...
分类:其他好文   时间:2020-02-03 09:22:01    阅读次数:76
幂迭代法应用:pivotMDS--大图数据的稀疏化布局
论文解读 首先 是通过p个锚点,做p次单源最短路,得到一个 的$d_{ij}$矩阵。通过这样一个 $d_{ij}$计算得到一个C矩阵,$C \in R^{n\times k}$。 C矩阵计算方式: $$ \begin{equation} C_{ij} = \frac{1}{2} (\delta_{i ...
分类:其他好文   时间:2020-02-02 23:26:05    阅读次数:93
Cow Bowling
The cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling- ...
分类:其他好文   时间:2020-02-02 19:42:09    阅读次数:74
2064条   上一页 1 ... 22 23 24 25 26 ... 207 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!