<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_46967285的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_46967285</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_46967285]]></copyright><item><title><![CDATA[hexo+github手把手教你部署个人博客]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/128135702</link><guid>https://blog.csdn.net/weixin_46967285/article/details/128135702</guid><author>weixin_46967285</author><pubDate>Thu, 01 Dec 2022 18:08:49 +0800</pubDate><description><![CDATA[hexo+github手把手教你部署个人博客，包括node.js的下载，git的下载与操作，博客的部署、美化和发布！]]></description><category></category></item><item><title><![CDATA[gurobi 基于python的gurobipy库使用，具有一维变量和二维变量的复杂模型求解]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/128113842</link><guid>https://blog.csdn.net/weixin_46967285/article/details/128113842</guid><author>weixin_46967285</author><pubDate>Wed, 30 Nov 2022 14:00:47 +0800</pubDate><description><![CDATA[gurobi 基于python的gurobipy库使用，具有一维变量和二维变量的复杂模型求解]]></description><category></category></item><item><title><![CDATA[基于python的scip库使用，从基础模型到复杂模型，从一维变量到三维变量]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/128104143</link><guid>https://blog.csdn.net/weixin_46967285/article/details/128104143</guid><author>weixin_46967285</author><pubDate>Tue, 29 Nov 2022 19:55:12 +0800</pubDate><description><![CDATA[基于python的scip库使用，从基础模型到复杂模型，从一维变量到三维变量]]></description><category></category></item><item><title><![CDATA[基于python的pulp库使用，从基础模型到复杂模型，从一维变量到二维变量]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/128103935</link><guid>https://blog.csdn.net/weixin_46967285/article/details/128103935</guid><author>weixin_46967285</author><pubDate>Tue, 29 Nov 2022 19:46:16 +0800</pubDate><description><![CDATA[基于python的pulp库使用，从基础模型到复杂模型，从一维变量到二维变量]]></description><category></category></item><item><title><![CDATA[STL笔记]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/127792098</link><guid>https://blog.csdn.net/weixin_46967285/article/details/127792098</guid><author>weixin_46967285</author><pubDate>Thu, 10 Nov 2022 16:57:56 +0800</pubDate><description><![CDATA[ps:array、vector、deque都可以用正向迭代器：容器名::iterator 迭代器名反向迭代器：容器名::trverse_iterator 迭代器名常量正向迭代器：容器名::const_iterator 迭代器名常量反向迭代器：容器名::const_inverse_iterator 迭代器名。]]></description><category></category></item><item><title><![CDATA[error记录]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/126767036</link><guid>https://blog.csdn.net/weixin_46967285/article/details/126767036</guid><author>weixin_46967285</author><pubDate>Thu, 08 Sep 2022 16:21:59 +0800</pubDate><description><![CDATA[注意，此时路径在那里，仓库位置就在哪里，按个人需求选择路径。把本地仓库连接到GitHub上出现了这个问题。1、路径是否在仓库处，不在的话修改路径即可。解决办法：在顶行添加一句。原因：没有找到本地仓库。]]></description><category></category></item><item><title><![CDATA[neo4j网页启动不了的问题：Store and its lock file has been locked by another process]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/117729866</link><guid>https://blog.csdn.net/weixin_46967285/article/details/117729866</guid><author>weixin_46967285</author><pubDate>Wed, 09 Jun 2021 09:10:30 +0800</pubDate><description><![CDATA[问题

解决办法
1、用neo4j.bat console命令在cmd中启动失败的原因： Store and its lock file has been locked by another process:XX Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)"

2、打开提示的路径，发现“store_l]]></description><category></category></item><item><title><![CDATA[CSP201912-2回收站选址（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115384051</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115384051</guid><author>weixin_46967285</author><pubDate>Mon, 17 May 2021 22:59:50 +0800</pubDate><description><![CDATA[参考链接：
#include &lt;iostream&gt;
#include &lt;algorithm&gt;
using namespace std;
struct node
{
	long long int x,y;
};
//全局变量 
int n;
node loc[1001];
//规则1、判断点是否存在
bool IsXY(int x,int y)
{
	for(int i=0;i&lt;n;i++)
		if(loc[i].x==x&amp;&amp;loc[i].y==y) retur]]></description><category></category></item><item><title><![CDATA[CSP202006-2-稀疏向量(C++)]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115371737</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115371737</guid><author>weixin_46967285</author><pubDate>Mon, 17 May 2021 22:54:25 +0800</pubDate><description><![CDATA[样例输入
10 3 4
4 5
7 -3
10 1
1 10
4 20
5 30
7 40

代码
想要让时间控制在ms级别的话数组用n个长度即可，想要节约空间的话就如下面的代码
第一遍代码得分60，一直没找到错误，后面发现是类型的问题，因为题目里的a,b最大是10^9，相乘必然很大，所以要用long long来定义sum.
#include &lt;iostream&gt;
using namespace std;
int main()
{
	int n,a,b;
	cin&gt;&gt;n&gt;&gt]]></description><category></category></item><item><title><![CDATA[CSP-202009-2-风险人群筛查(C++)]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115369087</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115369087</guid><author>weixin_46967285</author><pubDate>Mon, 17 May 2021 22:49:22 +0800</pubDate><description><![CDATA[#include &lt;iostream&gt;
using namespace std;
int main()
{
	int n,k,t,x1,y1,x2,y2;
	cin&gt;&gt;n&gt;&gt;k&gt;&gt;t&gt;&gt;x1&gt;&gt;y1&gt;&gt;x2&gt;&gt;y2;
	int x,y;
	int stay=0,pass=0;
	for(int i=0;i&lt;n;i++)
	{
		bool flag1=false,flag2=false;
		int not]]></description><category></category></item><item><title><![CDATA[CSP202012-2-期末预测之最佳阈值(c++)]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115331649</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115331649</guid><author>weixin_46967285</author><pubDate>Mon, 17 May 2021 22:43:12 +0800</pubDate><description><![CDATA[暴力求解法
#include &lt;iostream&gt;
#include &lt;algorithm&gt;//排序头文件 
using namespace std;
struct node
{
	int y;//安全指数or阈值 
	int result;//是否挂科 
	int sum;
};
//排序规则
bool cmp1(node s1, node s2)
 {
 	if(s1.sum!=s2.sum) return s1.sum&gt;s2.sum;
 	return s1.y&gt;s]]></description><category></category></item><item><title><![CDATA[CCF:202012-1-期末预测之安全指数(C++)]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115280494</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115280494</guid><author>weixin_46967285</author><pubDate>Sun, 28 Mar 2021 15:08:45 +0800</pubDate><description><![CDATA[要求
问题链接：http://118.190.20.162/view.page?gpid=T123
问题描述：


样例输入：
6
2 60
10 100
0 70
0 0
-10 50
10 60

样例输出：
1220

代码
#include&lt;iostream&gt;
using namespace std;
int main()
{
	int n;
	cin&gt;&gt;n;
	int w[n],score[n];
	int sum=0;
	for(int i=0;i&lt;n;i++)
	]]></description><category></category></item><item><title><![CDATA[CCF:202009-1-称检测点查询(C++)]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115281101</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115281101</guid><author>weixin_46967285</author><pubDate>Sun, 28 Mar 2021 15:08:15 +0800</pubDate><description><![CDATA[题目
题目链接：http://118.190.20.162/view.page?gpid=T113
问题描述
某市设有 n个核酸检测点，编号从1到n，其中i号检测点的位置可以表示为一个平面整数坐标 (xi,yi)
为方便预约核酸检测，请根据市民所在位置(X,Y)，查询距其最近的三个检测点。
多个检测点距离相同时，编号较小的视为更近。
输入格式
输入共 n+1行。
第一行包含用空格分隔的三个整数 n，X 和Y表示检测点总数和市民所在位置。
第二行到第n+1行依次输入n个检测点的坐标。第i+1行（1≤i≤n）包]]></description><category></category></item><item><title><![CDATA[CCF：202006-1-线性分类器（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115277512</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115277512</guid><author>weixin_46967285</author><pubDate>Sun, 28 Mar 2021 14:48:33 +0800</pubDate><description><![CDATA[要求
问题链接：http://118.190.20.162/view.page?gpid=T105
参考链接：https://blog.csdn.net/weixin_45884316/article/details/107122220
问题描述：



样例输入：
9 3
1 1 A
1 0 A
1 -1 A
2 2 B
2 3 B
0 1 A
3 1 B
1 3 B
2 0 A
0 2 -3
-3 0 2
-3 1 1

样例输出
No
No
Yes

代码
开始的思路是通过判断点是大于0还是小于0来判]]></description><category></category></item><item><title><![CDATA[CCF：201912-1-报数（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115276187</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115276187</guid><author>weixin_46967285</author><pubDate>Sun, 28 Mar 2021 09:17:01 +0800</pubDate><description><![CDATA[要求
问题链接：报数
题目描述：甲乙丙丁决定玩一个报数的游戏来打发时间。游戏规则为四个人从1开始轮流进行报数，但如果需要报出的数是7的倍数或含有数字7则直接跳过。此外大家约定，在总共报出了n个数后（不计入被跳过的数〉游戏结束。现在需要你来帮忙统计，游戏过程中每个人各自跳过了几次。
输入格式：输入仅一行，包含一个正整数n，表示报出了多少个数后游戏结束。
输出格式：输出共四行，每行一个整数，依次表示甲乙丙丁四人在游戏过程中跳过的次数。
示例：

代码
#include &lt;iostream&gt;
usin]]></description><category></category></item><item><title><![CDATA[CCF：201909-1-小明种苹果（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115152224</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115152224</guid><author>weixin_46967285</author><pubDate>Tue, 23 Mar 2021 23:54:47 +0800</pubDate><description><![CDATA[要求
时间限制：	2.0s
内存限制：	512.0MB
题目链接：http://118.190.20.162/view.page?gpid=T94
题目描述：

特别要求：两棵树去掉的水果数一致时k应该取编号较小的树
代码
#include &lt;iostream&gt;
#include &lt;cmath&gt;
using namespace std;
int main()
{
	int n,m;
	cin&gt;&gt;n&gt;&gt;m;
	int a,b;//a代表树某棵树剩下的水果数，b代]]></description><category></category></item><item><title><![CDATA[CCF：201903-1-小中大（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115148826</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115148826</guid><author>weixin_46967285</author><pubDate>Tue, 23 Mar 2021 22:40:16 +0800</pubDate><description><![CDATA[要求
时间限制：	1.0s
内存限制：	512.0MB
题目链接：http://118.190.20.162/view.page?gpid=T89
题目要求：老师给了你n个整数组成的测量数据，保证有序（可能为升序或降序)，可能存在重复的数据。请统计出这组测量数据中的最大值、中位数以及最小值，并按照从大到小的顺序输出这三个数。
输入要求：第一行输入一个整数n，在第二行中存在n个有序的整数，表示测量数据，可能为升序或降序排列，可能存在连续多个整数相等，整数与整数之间使用空格隔开。
输出要求：包含一行，包括最大值]]></description><category></category></item><item><title><![CDATA[CCF：201812-1-小明上学（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115139400</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115139400</guid><author>weixin_46967285</author><pubDate>Tue, 23 Mar 2021 20:00:52 +0800</pubDate><description><![CDATA[要求
时间限制：	1.0s
内存限制：	512.0MB
问题描述：	
题目背景
　　小明是汉东省政法大学附属中学的一名学生，他每天都要骑自行车往返于家和学校。为了能尽可能充足地睡眠，他希望能够预计自己上学所需要的时间。他上学需要经过数段道路，相邻两段道路之间设有至多一盏红绿灯。
　　京州市的红绿灯是这样工作的：每盏红绿灯有红、黄、绿三盏灯和一个能够显示倒计时的显示牌。假设红绿灯被设定为红灯 r 秒，黄灯 y 秒，绿灯 g 秒，那么从 0 时刻起，[0,r) 秒内亮红灯，车辆不许通过；[r, r+g) 秒内亮]]></description><category></category></item><item><title><![CDATA[CCF：201809-1-卖菜（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115138045</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115138045</guid><author>weixin_46967285</author><pubDate>Tue, 23 Mar 2021 19:40:00 +0800</pubDate><description><![CDATA[要求
时间限制：	1.0s
内存限制：	256.0MB
问题描述：	
　　在一条街上有n个卖菜的商店，按1至n的顺序排成一排，这些商店都卖一种蔬菜。
　　第一天，每个商店都自己定了一个价格。店主们希望自己的菜价和其他商店的一致，第二天，每一家商店都会根据他自己和相邻商店的价格调整自己的价格。具体的，每家商店都会将第二天的菜价设置为自己和相邻商店第一天菜价的平均值（用去尾法取整）。
　　注意，编号为1的商店只有一个相邻的商店2，编号为n的商店只有一个相邻的商店n-1，其他编号为i的商店有两个相邻的商店i-1和]]></description><category></category></item><item><title><![CDATA[CCF：201803-1-跳一跳（C++）]]></title><link>https://blog.csdn.net/weixin_46967285/article/details/115131970</link><guid>https://blog.csdn.net/weixin_46967285/article/details/115131970</guid><author>weixin_46967285</author><pubDate>Tue, 23 Mar 2021 19:14:25 +0800</pubDate><description><![CDATA[要求
时间限制：	1.0s
内存限制：	256.0MB
问题描述：	
　　近来，跳一跳这款小游戏风靡全国，受到不少玩家的喜爱。
　　简化后的跳一跳规则如下：玩家每次从当前方块跳到下一个方块，如果没有跳到下一个方块上则游戏结束。
　　如果跳到了方块上，但没有跳到方块的中心则获得1分；跳到方块中心时，若上一次的得分为1分或这是本局游戏的第一次跳跃则此次得分为2分，否则此次得分比上一次得分多两分（即连续跳到方块中心时，总得分将+2，+4，+6，+8…）。
　　现在给出一个人跳一跳的全过程，请你求出他本局游戏的得分]]></description><category></category></item></channel></rss>