码迷,mamicode.com
首页 >  
搜索关键字:NPU    ( 4242个结果
java获取文件的路径问题
java获取文件的路径问题 在java中读取读取文件,经常因为路径的问题找不到,此文用于记录如何定位文件的简单方法。 本基于springboot做的测试,主要是构建工程方便,所用的方法都是JDK中的方法,主要测试有”/“和没有""的问题,以及 和`getResource(String string) ...
分类:编程语言   时间:2019-01-30 21:48:34    阅读次数:195
#Leetcode# 148. Sort List
https://leetcode.com/problems/sort-list/ Sort a linked list in O(n log n) time using constant space complexity. Example 1: Example 2: 代码: 归并排序 学到了 FHF ...
分类:其他好文   时间:2019-01-30 16:06:42    阅读次数:125
LeetCode-61-Rotate List
算法描述: Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Example 2: 解题思路:单链表的题目,画出图就可以解决了。注意边界条件,以及k值大 ...
分类:其他好文   时间:2019-01-30 15:56:54    阅读次数:112
1100 Mars Numbers (20 分)
1100 Mars Numbers (20 分) People on Mars count their numbers with base 13: Zero on Earth is called "tret" on Mars. The numbers 1 to 12 on Earch is call ...
分类:其他好文   时间:2019-01-29 21:18:55    阅读次数:146
19.1.29 [LeetCode 23] Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: 1 struct cmp { 2 bool operator () (ListNod ...
分类:其他好文   时间:2019-01-29 20:42:49    阅读次数:180
函数节流与函数去抖
问题由来: 在项目应用PeoplePicker控件的时候突然联想到一个问题,在输入人名时不停的向后台发请求,取到数据库里面的数据。我们都知道频繁的通信会导致页面效率降低。可不可以设置个间隔,每次这个间隔通信一次而不是每次输入一个字符就通信一次呢。其实这里还有很多场景,比如resize事件,scrol ...
分类:其他好文   时间:2019-01-29 20:25:25    阅读次数:165
java正则表达式去除html标签
当我们用ckeditor或其他一些在线文本编辑器的时候 内容里会有很多的标签 如下片段: <p><img alt="" src="/img/uploadImg/20131218/0fd741e1-cc75-459c-a8b5-bbaebcfcc637.jpg" style="height:494px ...
分类:编程语言   时间:2019-01-29 12:04:27    阅读次数:185
线段树复习打卡——1318: 借教室
http://61.139.95.227:82/problem.php?id=1318 线段树区间修改模版 ...
分类:其他好文   时间:2019-01-29 11:58:43    阅读次数:178
Python3 装饰器
1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 #Author:sking 4 #Python3 装饰器 5 6 #装饰器本质就是函数(功能就是装饰其他函数也就是为其它函数添加附加功能) 7 #装饰器的原则: 8 #1. 不能修改被装饰的函数的源... ...
分类:编程语言   时间:2019-01-28 23:07:44    阅读次数:230
关于js的书写
<li> <label>工号:</label> <input id="uidarr" type='text' onclick="jobNumberDialog()" placeholder='请选择工号' style="height:28px;width:148px;"/> </li> 由 jsp中 ...
分类:Web程序   时间:2019-01-28 16:07:00    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!