"https://codeforces.com/contest/1324/problem/F" description you are given a tree, in which the vertices are all printed either black or white. , find ...
分类:
其他好文 时间:
2020-03-18 00:04:49
阅读次数:
76
@Validated JSR是Java Specification Requests的缩写,意思是Java 规范提案。是指向JCP(Java Community Process)提出新增一个标准化技术规范的正式请求。任何人都可以提交JSR,以向Java平台增添新的API和服务。JSR已成为Java界 ...
分类:
Web程序 时间:
2020-03-17 21:05:45
阅读次数:
87
nginx简单介绍 1、什么是nginx? 是一个高性能的Web和反向代理服务器。 2. nginx可以作为网关,因为它具有网关必备的功能: ① 反向代理 ② 负载均衡 ③ 动态路由 ④ 请求过滤 3. nginx作为web服务器 Web服务器分2类: web应用服务器,如:tomcat、resin ...
分类:
其他好文 时间:
2020-03-17 21:02:27
阅读次数:
53
一.序列化定义 Wike中对序列化的定义如下: In computing, serialization (or serialisation) is the process of translating data structures or object state into a format tha ...
分类:
编程语言 时间:
2020-03-17 16:52:36
阅读次数:
83
在大型系统中,一个服务去访问另外一个服务或者工具是非常常见的,例如feigin, ribbon, webservice, dubbo甚至jdbc等,这一节我们将看一下如何在java代码中调用外部命令。 关键代码 执行结果 通过Runtime可以执行windows系统中的任何命令,在此写小文记录。 ...
分类:
编程语言 时间:
2020-03-16 23:51:02
阅读次数:
87
1 from urllib import request 2 from http.cookiejar import MozillaCookieJar 3 cookiejar = MozillaCookieJar('cookie.txt') 4 handler = request.HTTPCookie ...
分类:
其他好文 时间:
2020-03-16 21:38:27
阅读次数:
51
一、什么是RPC RPC的全称是Remote Process Call,即远程过程调用,它应用广泛,实现方式也很多,拥有RMI、WebService、Hessian等诸多成熟的方案,在业界得到了广泛的使用。 RPC将原本的本地调用转变为调用远端的服务器上的方法,给系统的处理能力和吞吐量带来了极大的提 ...
分类:
其他好文 时间:
2020-03-16 19:10:56
阅读次数:
74
1、Github项目地址: 2、估计开发时间: PSP2.1 Personal Software Process Stages 预估耗时(分钟) 实际耗时(分钟) Planning 计划 · Estimate · 估计这个任务需要多少时间 Development 开发 · Analysis · 需求 ...
分类:
其他好文 时间:
2020-03-16 10:01:12
阅读次数:
66
报错信息: Emulator: Process finished with exit code 1 Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT 解决方法: 1. 删除AVD内所有镜像 2. ...
分类:
移动开发 时间:
2020-03-16 09:18:57
阅读次数:
123