看一下题目大意: For a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2.。 自己翻译一下,不难 ...
分类:
其他好文 时间:
2020-05-25 12:06:37
阅读次数:
75
跑spark job的时候碰到了错误: 这是因为nmPrivate目录没有权限访问引起的。 参考: "https://www.oschina.net/question/2288283_2134188" ...
分类:
其他好文 时间:
2020-05-25 09:22:14
阅读次数:
74
周日,晴,记录生活分享点滴 参考博客:https://www.cnblogs.com/resn/p/5800922.html 环境变量 自定义账户的个性化环境的三个重要文件 (参考博客:https://blog.csdn.net/u011479200/article/details/86501366 ...
分类:
编程语言 时间:
2020-05-24 21:26:32
阅读次数:
74
中心扩展法。 class Solution { public: string longestPalindrome(string s) { int start = 0, end = 0; for (int i = 0; i < s.size(); ++i) { findLongest(s, i, i, ...
分类:
其他好文 时间:
2020-05-24 11:40:39
阅读次数:
50
//配置vs环境变量 C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterpr ...
分类:
其他好文 时间:
2020-05-24 11:38:26
阅读次数:
59
Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 1 ...
分类:
其他好文 时间:
2020-05-24 11:27:13
阅读次数:
52
C:\Users\admin>netstat -ano|findstr 8088 TCP 0.0.0.0:8088 0.0.0.0:0 LISTENING 16888 TCP 127.0.0.1:8088 127.0.0.1:64254 ESTABLISHED 16888 TCP 127.0.0.1 ...
分类:
Web程序 时间:
2020-05-24 09:56:03
阅读次数:
54
macOX的快捷键与windows10有所不同,了解了以后会更加提高我们的工作效率. Mac中主要有四个修饰键,分别是Command,Control,Option和Shift。 一、基本的快捷键: Command是Mac里最重要的修饰键,在大多数情况下相当于Windows下的Ctrl。所以以下最基本 ...
分类:
系统相关 时间:
2020-05-24 09:28:40
阅读次数:
196
在企业中,一般的服务器都是linux的,并且是不会让你联网的。这个时候我们要安装部署我们的项目,就少不了在离线服务器上安装很多的服务。有tar包的,rpm的,还有python的。如果服务器可以联网,真的会方便很多。往往就是一个命令的问题,但是对于离线服务器就变得困难重重。笔者因为最近的工作需要,从一 ...
分类:
其他好文 时间:
2020-05-24 00:18:19
阅读次数:
57
Linux中find命令用法全汇总,看完就没有不会用的! 中琦2513 马哥Linux运维 2017-04-10 糖豆贴心提醒,本文阅读时间7分钟 Linux 查找命令是Linux系统中最重要和最常用的命令之一。查找用于根据与参数匹配的文件指定的条件来搜索和查找文件和目录列表的命令。查找可以在各种条 ...
分类:
系统相关 时间:
2020-05-23 20:36:24
阅读次数:
103