logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Git clone报错‘https is not supported‘的解决办法和原因

前言  今天想要把平常写的随笔日记存到Github上,就新建了一个仓库,然后git clone的时候竟然报错了,从来没见过:解决  其实再试一次就行。第一次会错误的原因是习惯性的ctrl+v粘贴地址了,但是git bash不支持这个,然后再鼠标右键paste的时候表面上看是一样的,实际上ctrl+v会产生一个隐藏符号,所以就报错啦。参考文章<参考>...

#git#https#网络协议
[错误解决]Tomcat以Cmder方式打开报错提示The system cannot find the path specified的解决办法

问题描述   今天下载了Tomcat 8.5.75的版本,按照要求配置好JAVA_HOME和JRE_HOME之后,报错:提示The system cannot find the path specified.解决办法  一开始还以为是自己的环境变量位置配错了,后面发现是Cmder的原因。因为某种不可知的原因,Cmder似乎不能作为Tomcat的启动承载,而我之前把Cmder强制注册成默认终端取代了

#tomcat#java#intellij-idea
(动态规划+卡特兰数)洛谷1044 栈

题目概述:源代码:#include<iostream>using namespace std;#define maxn 19int dp[maxn];int main(){std::ios::sync_with_stdio(false);int n;cin >> n;dp[0] = 1, dp[1] = 1;for (int i = 2; i<=n;++i)for (

#动态规划#算法
洛谷P1923 求第k小的数

#include<iostream>#include<vector>#include<stdio.h>using namespace std;//以下是二分查找int ans;void qsort(int a[], int l, int r);const int MAX = 5000001;int a[MAX];int n = 0, k = 0;void qso

#算法#c语言
(动态规划+01背包问题+拓展完全背包问题)洛谷1049 装箱问题

目录题目概述:AC代码:分析思路:拓展部分题目概述:AC代码:#include<iostream>#include<algorithm>using namespace std;#define maxn 30#define maxv 20000int v[maxn + 1];int dp[maxn + 1][maxv + 1];//dp[i][j]表示前i个物品在j容量内能占

#动态规划#算法
刷题笔记 PAT1002写出这个数(C++)

#include<iostream>#include<vector>#include<string>using namespace std;int main(){string numbers;cin >> numbers;//把所有位上的数字都储存在字符串里头unsigned int sum = 0;for (auto a : numbers)sum

#c++#算法
到底了