参考:https://blog.csdn.net/qq_41685509/article/details/107440231 题目:给一串整数,有些数字是0,把0换成正整数,使得整个数组非递减且字典序最小。输入:第一行一个整数n,表示数组元素个数;第二行n个整数。输出:替换0之后的非递减数组,或者无 ...
分类:
编程语言 时间:
2020-09-17 23:01:30
阅读次数:
45
vim:https://baidui.lanzoui.com/ilpcSgjoj1e git:https://baidui.lanzoui.com/iWpCogjogqb ...
分类:
编程语言 时间:
2020-09-17 22:30:41
阅读次数:
38
HttpClient发起请求,将响应结果(header和entity)设置到response中返回 package com.graph.oss.config; import java.io.IOException; import java.lang.reflect.Field; import jav ...
分类:
Web程序 时间:
2020-09-17 22:17:19
阅读次数:
51
实习已经一个多月了,来分享一个网络小知识, 进入正题了,初次进公司都会遇到一个问题,就是公司内网和WiFi不能同时使用,其实打开powershell配置一下路由即可 1、 打开powershell(权限比cmd大) 2、 提前查好自己电脑的默认网关多少以及你连接公司内网的网线地址【ipconfig看 ...
分类:
其他好文 时间:
2020-09-17 21:49:56
阅读次数:
103
拉取镜像 docker pull gitlab/gitlab-ce 容器搭建 docker run -d -p 8000:80 -p 4430:443 -p 222:22 --name gitlab --restart always -v /home/gitlab/config:/etc/gitla ...
分类:
其他好文 时间:
2020-09-17 21:36:18
阅读次数:
33
每天 3 分钟,走上算法的逆袭之路。 前文合集 每日一道 LeetCode 前文合集 代码仓库 GitHub: https://github.com/meteor1993/LeetCode Gitee: https://gitee.com/inwsy/LeetCode 题目:翻转二进制数 题目来源: ...
分类:
其他好文 时间:
2020-09-17 21:35:31
阅读次数:
34
When searching google with the keywords 'n-way anova python', you almost get nothing but one-way/two-way ANOVA from scipy. I developed a C++ version y ...
分类:
编程语言 时间:
2020-09-17 21:33:43
阅读次数:
31
Git之本地仓库(二) 想对已经commit到本地仓库的文件进行修改但是又不想重新commit时,可以使用 git commit --amend 撤销事件 撤销暂存区的文件到工作区 git reset file 将属于同一个更改的两个文件撤销成两个单独的更改 取消更改已修改的文件 git check ...
分类:
其他好文 时间:
2020-09-17 21:26:33
阅读次数:
33
一、前提条件 1、Django 项目接入了 log 日志模块 二、解决方案 启动项目或者项目运行中,遇到如下报错 File "C:\Python38\lib\logging\config.py", line 808, in dictConfig dictConfigClass(config).con ...
分类:
其他好文 时间:
2020-09-17 21:17:38
阅读次数:
82
Problem LeetCode Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where t ...
分类:
编程语言 时间:
2020-09-17 20:29:16
阅读次数:
30