码迷,mamicode.com
首页 >  
搜索关键字:pat    ( 13517个结果
python3写的一个检测远程服务器端口脚本
分两部分:1python脚本2一个config.txt文件有机会在共享一下编译成exe的文件。1、脚本#!/usr/bin/envpythonimportosimportsysimportsocketimportmsvcrtb=sys.platformarr=[]if‘win*‘==b:config=sys.path[0]+‘\config.txt‘else:con
分类:编程语言   时间:2018-08-21 12:15:02    阅读次数:356
4. Hibernate检索方式
Hibernate检索方式的分类 Hibernate的检索方式主要有5种,分别为导航对象图检索方式、OID检索方式、HQL检索方式、QBC检索方式和SQL检索方式。下面对这5中检索方式的使用进行详解。 1. 对象图导航检索 对象图导航检索方式是根据已经加载的对象,导航到他的关联对象。它利用类与类之间 ...
分类:Web程序   时间:2018-08-21 10:54:37    阅读次数:203
PAT 1103 Integer Factorization[难]
The K?P factorization of a positive integer N is to write N as the sum of the P-th power of K positive integers. You are supposed to write a program t ...
分类:其他好文   时间:2018-08-21 00:27:26    阅读次数:165
docker 常见错误总结
docker common error Non existing image of running container drm() { docker rm $(docker ps q a); } dri() { docker rmi $(docker images q); } ddri(){ doc ...
分类:其他好文   时间:2018-08-20 22:59:01    阅读次数:614
PAT 1101 Quick Sort[一般上]
There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the pivot. Then th ...
分类:其他好文   时间:2018-08-20 19:44:40    阅读次数:192
PAT 1133 Splitting A Linked List
Given a singly linked list, you are supposed to rearrange its elements so that all the negative values appear before all of the non negatives, and all ...
分类:其他好文   时间:2018-08-20 17:55:35    阅读次数:166
PAT 1134 Vertex Cover
A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Now given a graph with ...
分类:其他好文   时间:2018-08-20 17:53:26    阅读次数:219
PAT 1126 Eulerian Path
In graph theory, an Eulerian path is a path in a graph which visits every edge exactly once. Similarly, an Eulerian circuit is an Eulerian path which ...
分类:其他好文   时间:2018-08-20 17:22:11    阅读次数:225
JavaSE JDK新特性
JDK8的新特性: Lambda表达式与Functional接口 在JDK8之前,Java是不支持函数式编程的,所谓的函数编程,即可理解是将一个函数(也称为“行为”)作为一个参数进行传递。通常我们提及得更多的是面向对象编程,面向对象编程是对数据的抽象(各种各样的POJO类),而函数式编程则是对行为的 ...
分类:编程语言   时间:2018-08-20 14:30:26    阅读次数:146
hadoop(9)---yarn配置文件说明
以下只是对yarn配置文件(yarn.site.xml)简单的一个配置 <configuration><!-- rm失联后重新链接的时间 --> <property> <name>yarn.resourcemanager.connect.retry-interval.ms</name> <value ...
分类:其他好文   时间:2018-08-20 14:29:36    阅读次数:1267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!