首页 > 2018年01月13日 > 全部分享
java9新特性-4-模块化系统: Jigsaw与Modularity
1.官方Feature 200: The Modular JDK 201: Modular Source Code 220: Modular Run-Time Images 260: Encapsulate Most Internal APIs 261: Module System 282: jli ...
分类:编程语言   时间:2018-01-13 10:20:37    收藏:0  评论:0  赞:0  阅读:256
洛谷 P2421 A-B数对(增强版)
题目描述 给出N 个从小到大排好序的整数,一个差值C,要求在这N个整数中找两个数A 和B,使得A-B=C,问这样的方案有多少种? 例如:N=5,C=2,5 个整数是:2 2 4 8 10。答案是3。具体方案:第3 个数减第1 个数;第3 个数减第2 个数;第5 个数减第4 个数。 输入输出格式 输入 ...
分类:其他   时间:2018-01-13 10:20:01    收藏:0  评论:0  赞:0  阅读:193
Java多线程(一)概述及创建
支持多线程是Java语言的特性之一,多线程使程序可以同时存在多个执行片段,根据不同的条件和环境同步或异步工作。线程与进程的实现原理类似,但它们的服务对象不同,进程代表操作系统平台中运行的一个程序,而一个程序中将包含多个线程。 进程: 通常将正在运行的程序成为进程,现在计算机基本都支持多进程操作,比如 ...
分类:编程语言   时间:2018-01-13 10:19:43    收藏:0  评论:0  赞:0  阅读:250
SpringMVC学习(一)
最近准备面试,所以把Spring MVC复习一下,主要是通过思维导图来学习 思维导图主要转载自微信公众号-java思维导图(供个人学习用,不做其他用途) 1、spring mvc简介与运行原理 Spring的模型-视图-控制器(MVC)框架是围绕一个DispatcherServlet来设计的,这个S ...
分类:编程语言   时间:2018-01-13 10:19:21    收藏:0  评论:0  赞:0  阅读:368
Map-560. Subarray Sum Equals K
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Note: ...
分类:其他   时间:2018-01-13 10:19:05    收藏:0  评论:0  赞:0  阅读:176
Bit Manipulation-476. Number Complement
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: Example 1: Exa ...
分类:其他   时间:2018-01-13 10:18:47    收藏:0  评论:0  赞:0  阅读:167
!688. Knight Probability in Chessboard
#week10 On an NxN chessboard, a knight starts at the r-th row and c-th column and attempts to make exactly K moves. The rows and columns are 0 indexed ...
分类:其他   时间:2018-01-13 10:18:29    收藏:0  评论:0  赞:0  阅读:416
java9新特性-18-统一的JVM日志系统
1.官方Feature 158: Unified JVM Logging 271: Unified GC Logging 2.使用说明 日志是解决问题的唯一有效途径:曾经很难知道导致JVM性能问题和导致JVM崩溃的根本原因。不同的JVM日志的碎片化和日志选项(例如:JVM组件对于日志使用的是不同的机 ...
分类:编程语言   时间:2018-01-13 10:17:57    收藏:0  评论:0  赞:0  阅读:243
java9新特性-17-智能Java编译工具
1.官方Feature 139: Enhance javac to Improve Build Speed. 199: Smart Java Compilation, Phase Two 2.使用说明 智能java编译工具( sjavac)的第一个阶段始于JEP139这个项目,用于在多核处理器情况下 ...
分类:编程语言   时间:2018-01-13 10:17:22    收藏:0  评论:0  赞:0  阅读:216
npm-全局工具编写注意事项
由于大部分前端工程师使用Windows系统的电脑,我们在编写通用的全局小工具时创建的文件格式都是windows类型(Windows, Unix, Mac Os 9)。如果为Windows格式,在mac电脑内不识别,导致无法使用,则需要将文件格式转换为Unix。在Unix电脑中,由于文件权限问题,不能 ...
分类:其他   时间:2018-01-13 10:16:48    收藏:0  评论:0  赞:0  阅读:209
Segment Tree-732. My Calendar III
Implement a MyCalendarThree class to store your events. A new event can always be added. Your class will have one method, book(int start, int end). Fo ...
分类:其他   时间:2018-01-13 10:16:33    收藏:0  评论:0  赞:0  阅读:258
java9新特性-10-语法改进:UnderScore(下划线)使用的限制
1.使用说明 在java 8 中,标识符可以独立使用“_”来命名: 但是,在java 9 中规定“_”不再可以单独命名标识符了,如果使用,会报错: 1.使用说明 在java 8 中,标识符可以独立使用“_”来命名: 但是,在java 9 中规定“_”不再可以单独命名标识符了,如果使用,会报错: 1. ...
分类:编程语言   时间:2018-01-13 10:16:12    收藏:0  评论:0  赞:0  阅读:181
Binary Indexed Tree-307. Range Sum Query - Mutable
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. The update(i, val) function modifies nums by upd ...
分类:其他   时间:2018-01-13 10:15:22    收藏:0  评论:0  赞:0  阅读:224
H5C3--圆角
其中,为每个角单独设置圆角:例如 一.一个值:代表四个方向 二.二个值:左上+右下 / 右上+左下 三.三个值:左上 / 右上+左下 / 右下 四.四个值:左上/ 右上 / 右下/ 左下 ...
分类:其他   时间:2018-01-13 10:14:49    收藏:0  评论:0  赞:0  阅读:296
bzoj 3238: [AHOI2013]差异
Time Limit: 20 Sec Memory Limit: 512 MB Description Input 一行,一个字符串S 一行,一个字符串S Output 一行,一个整数,表示所求值 一行,一个整数,表示所求值 Sample Input cacao Sample Output 54 H ...
分类:其他   时间:2018-01-13 10:14:27    收藏:0  评论:0  赞:0  阅读:220
SQL Server 2008 R2 系统函数学习
/******************************************* * 聚合函数 *******************************************/ SELECT AVG(id) AS Average FROM school AS s --返回组中各值的平... ...
分类:数据库技术   时间:2018-01-13 10:14:09    收藏:0  评论:0  赞:0  阅读:219
Android------个人项目(歆语气象通)
歆语气象通: 歆语气象伴随你的身边,便捷生活。 包含了以下功能: 1. 天气预报数据覆盖中国城市和地区;2. 提供一周天气预报及最低最高温度,时刻关注天气,轻松计划出行;3. 各种指数详细信息,如太阳,运动等。4.城市查询:提供中国多个市,县,自治区等的查询。 apk下载地址: http://sho ...
分类:移动平台   时间:2018-01-13 10:13:49    收藏:0  评论:0  赞:0  阅读:304
Linked List-237. Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 - ...
分类:其他   时间:2018-01-13 10:13:18    收藏:0  评论:0  赞:0  阅读:258
ME03 关于运气要知道的几个真相
运气这个因素,对于一个人,一件事的成功,比我们的想象重要。 关于运气需要知道这么几个真相。 第一 成功了,真有可能就是运气导致的。 成功了,并不能说你就是第一,做得最好的。 《一切皆有可能》这本书里,做了一个实验。同样的歌曲,放在8个网站上,随机找人点评,然后分析8个网站的排名结果, 唯一可以确认的 ...
分类:其他   时间:2018-01-13 10:12:29    收藏:0  评论:0  赞:0  阅读:226
Graph-684. Redundant Connection
In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a tree with N nodes (wi ...
分类:其他   时间:2018-01-13 10:12:13    收藏:0  评论:0  赞:0  阅读:193
1197条   上一页 1 ... 52 53 54 55 56 ... 60 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!