<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[xing_mo的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/xing_mo</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; xing_mo]]></copyright><item><title><![CDATA[windows及linux下osgeo安装]]></title><link>https://blog.csdn.net/xing_mo/article/details/127884817</link><guid>https://blog.csdn.net/xing_mo/article/details/127884817</guid><author>xing_mo</author><pubDate>Wed, 16 Nov 2022 14:38:09 +0800</pubDate><description><![CDATA[from osgeo import gdal]]></description><category></category></item><item><title><![CDATA[IDEA中Spark配置]]></title><link>https://blog.csdn.net/xing_mo/article/details/127810416</link><guid>https://blog.csdn.net/xing_mo/article/details/127810416</guid><author>xing_mo</author><pubDate>Fri, 11 Nov 2022 17:48:15 +0800</pubDate><description><![CDATA[Spark快速配置]]></description><category></category></item><item><title><![CDATA[Codeforces Round #699 (Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/113747958</link><guid>https://blog.csdn.net/xing_mo/article/details/113747958</guid><author>xing_mo</author><pubDate>Sun, 07 Feb 2021 22:12:13 +0800</pubDate><description><![CDATA[Codeforces Round #699 (Div. 2)
http://codeforces.com/contest/1481
A. Space Navigation
题意：给你一个字符串，串中字母分别表示在二维平面上往上下左右四个方向走一格，问是否能够删除一些字母使得从(0,0)出发走到（x,y）
思路：直接看最左最右，最上最下能到哪，然后看（x,y）是否在移动区间内
#include&lt;bits/stdc++.h&gt;
#define MAXN 100005
using namespace s]]></description><category></category></item><item><title><![CDATA[Educational Codeforces Round 103 (Rated for Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/113409314</link><guid>https://blog.csdn.net/xing_mo/article/details/113409314</guid><author>xing_mo</author><pubDate>Sat, 30 Jan 2021 01:23:05 +0800</pubDate><description><![CDATA[Educational Codeforces Round 103 (Rated for Div. 2)
http://codeforces.com/contest/1476
K-divisible Sum
题意：给你n和k，需要构造一个长度为n的数组a（a中数都为正整数）使得所有数之和是k的倍数，要使得a中最大的数最小，问这个最小数是多少
思路：首先a全放1和为n，全放2合为2n，如果n &gt;= k那么n~2n之间必有k的倍数，否则先全放⌊k/n⌋\lfloor k/n \rfloor⌊k/n⌋，之后选]]></description><category></category></item><item><title><![CDATA[Codeforces Round #628 (Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/104871855</link><guid>https://blog.csdn.net/xing_mo/article/details/104871855</guid><author>xing_mo</author><pubDate>Sun, 15 Mar 2020 00:44:50 +0800</pubDate><description><![CDATA[Codeforces Round #628 (Div. 2)
http://codeforces.com/contest/1325
A - EhAb AnD gCd
#include&lt;bits/stdc++.h&gt;
using namespace std;
int t,x;
int main()
{
	scanf("%d",&amp;t);
	while(t--)
	{
		scanf(...]]></description><category></category></item><item><title><![CDATA[Educational Codeforces Round 83 (Rated for Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/104853838</link><guid>https://blog.csdn.net/xing_mo/article/details/104853838</guid><author>xing_mo</author><pubDate>Sat, 14 Mar 2020 02:38:10 +0800</pubDate><description><![CDATA[Educational Codeforces Round 83 (Rated for Div. 2)
http://codeforces.com/contest/1312/my
A - Two Regular Polygons
思路：m是n的因子即可
#include&lt;bits/stdc++.h&gt;
using namespace std;
int t,n,m;
int main()
{...]]></description><category></category></item><item><title><![CDATA[E - Array Shrinking,区间dp,Educational Codeforces Round 83 (Rated for Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/104853865</link><guid>https://blog.csdn.net/xing_mo/article/details/104853865</guid><author>xing_mo</author><pubDate>Sat, 14 Mar 2020 02:37:50 +0800</pubDate><description><![CDATA[E - Array Shrinking,Educational Codeforces Round 83 (Rated for Div. 2)
http://codeforces.com/contest/1312/problem/E
You are given an array a1,a2,…,an. You can perform the following operation any numbe...]]></description><category></category></item><item><title><![CDATA[D. Count the Arrays,组合,Educational Codeforces Round 83 (Rated for Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/104853847</link><guid>https://blog.csdn.net/xing_mo/article/details/104853847</guid><author>xing_mo</author><pubDate>Sat, 14 Mar 2020 02:30:10 +0800</pubDate><description><![CDATA[D. Count the Arrays,Educational Codeforces Round 83 (Rated for Div. 2)
http://codeforces.com/contest/1312/problem/D
Your task is to calculate the number of arrays such that:
each array contains n elem...]]></description><category></category></item><item><title><![CDATA[Codeforces Round #622 (Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/104488970</link><guid>https://blog.csdn.net/xing_mo/article/details/104488970</guid><author>xing_mo</author><pubDate>Tue, 25 Feb 2020 00:51:40 +0800</pubDate><description><![CDATA[Codeforces Round #622 (Div. 2)
http://codeforces.com/contest/1313
A - Fast Food Restaurant
#include&lt;bits/stdc++.h&gt;
using namespace std;
int t,a[3];
int main()
{
	scanf("%d",&amp;t);
	while(t--)
...]]></description><category></category></item><item><title><![CDATA[C2 - Skyscrapers (hard version),Codeforces Round #622 (Div. 2),单调栈]]></title><link>https://blog.csdn.net/xing_mo/article/details/104488983</link><guid>https://blog.csdn.net/xing_mo/article/details/104488983</guid><author>xing_mo</author><pubDate>Tue, 25 Feb 2020 00:51:23 +0800</pubDate><description><![CDATA[C2 - Skyscrapers (hard version)
http://codeforces.com/contest/1313/problem/C2
思路：首先枚举最高楼，由题意可知最高楼的两边都是递减的，现假设最高楼的下标为1，算出最优方案，之后每次将最高楼的下标向右平移，假设当前平移到i，发现要使得最高楼的左边递减，则需要将i左边第一个比它小的位置到i都置为m[i]，右边同，这个用单点栈...]]></description><category></category></item><item><title><![CDATA[Kanade's convolution,HDU - 6057,FWT]]></title><link>https://blog.csdn.net/xing_mo/article/details/104392402</link><guid>https://blog.csdn.net/xing_mo/article/details/104392402</guid><author>xing_mo</author><pubDate>Wed, 19 Feb 2020 14:43:03 +0800</pubDate><description><![CDATA[Kanade’s convolution,HDU - 6057
https://vjudge.net/problem/HDU-6057/origin
Give you two arrays A[0…2m−1] and B[0…2m−1].
Please calculate array C[0…2m−1]：
C[k]=∑i and j=kA[i xor j]∗B[i or j]
You just n...]]></description><category></category></item><item><title><![CDATA[Binary Table,CodeForces - 662C,FWT,状压]]></title><link>https://blog.csdn.net/xing_mo/article/details/104391261</link><guid>https://blog.csdn.net/xing_mo/article/details/104391261</guid><author>xing_mo</author><pubDate>Wed, 19 Feb 2020 13:12:11 +0800</pubDate><description><![CDATA[Binary Table,CodeForces - 662C
https://vjudge.net/problem/CodeForces-662C/origin
You are given a table consisting of n rows and m columns. Each cell of the table contains either 0 or 1. In one move, y...]]></description><category></category></item><item><title><![CDATA[Super Rooks on Chessboard,UVA - 12633,FFT]]></title><link>https://blog.csdn.net/xing_mo/article/details/104390858</link><guid>https://blog.csdn.net/xing_mo/article/details/104390858</guid><author>xing_mo</author><pubDate>Wed, 19 Feb 2020 12:34:33 +0800</pubDate><description><![CDATA[Super Rooks on Chessboard,UVA - 12633
https://vjudge.net/problem/UVA-12633/origin
Let’s assume there is a new chess piece named Super-rook. When placed at a cell of a chessboard, it
attacks all the ce...]]></description><category></category></item><item><title><![CDATA[Hard Nim,HYSBZ - 4589,Nim博弈,FWT]]></title><link>https://blog.csdn.net/xing_mo/article/details/104390609</link><guid>https://blog.csdn.net/xing_mo/article/details/104390609</guid><author>xing_mo</author><pubDate>Wed, 19 Feb 2020 12:13:39 +0800</pubDate><description><![CDATA[Hard Nim,HYSBZ - 4589
https://vjudge.net/problem/HYSBZ-4589/origin
Claris和NanoApe在玩石子游戏，他们有n堆石子，规则如下：

Claris和NanoApe两个人轮流拿石子，Claris先拿。
每次只能从一堆中取若干个，可将一堆全取走，但不可不取，拿到最后1颗石子的人获胜。
不同的初始局面，决定了最终的获胜者，有些局面下...]]></description><category></category></item><item><title><![CDATA[A+B Problem,Kattis - aplusb,FFT]]></title><link>https://blog.csdn.net/xing_mo/article/details/104390477</link><guid>https://blog.csdn.net/xing_mo/article/details/104390477</guid><author>xing_mo</author><pubDate>Wed, 19 Feb 2020 12:05:54 +0800</pubDate><description><![CDATA[A+B Problem,Kattis - aplusb
Given N integers in the range [−50000,50000], how many ways are there to pick three integers ai, aj, ak, such that i, j, k are pairwise distinct and ai+aj=ak? Two ways are ...]]></description><category></category></item><item><title><![CDATA[HDU - 4609 ,3-idiots,FFT]]></title><link>https://blog.csdn.net/xing_mo/article/details/104385387</link><guid>https://blog.csdn.net/xing_mo/article/details/104385387</guid><author>xing_mo</author><pubDate>Wed, 19 Feb 2020 00:14:18 +0800</pubDate><description><![CDATA[HDU - 4609 ,3-idiots
https://vjudge.net/problem/HDU-4609/origin
King OMeGa catched three men who had been streaking in the street. Looking as idiots though, the three men insisted that it was a kind o...]]></description><category></category></item><item><title><![CDATA[HDU - 1402,A * B Problem Plus,FFT板]]></title><link>https://blog.csdn.net/xing_mo/article/details/104385276</link><guid>https://blog.csdn.net/xing_mo/article/details/104385276</guid><author>xing_mo</author><pubDate>Tue, 18 Feb 2020 23:47:20 +0800</pubDate><description><![CDATA[HDU - 1402,A * B Problem Plus
https://vjudge.net/problem/HDU-1402/origin
Calculate A * B.
思路：FFT板题，贴个常数很小的板子
#include&lt;bits/stdc++.h&gt;
#define ll long long
#define ri register int
#define MAXN 500...]]></description><category></category></item><item><title><![CDATA[Tree,2017 ACM-ICPC 亚洲区（西安赛区）网络赛A,点分治]]></title><link>https://blog.csdn.net/xing_mo/article/details/104383485</link><guid>https://blog.csdn.net/xing_mo/article/details/104383485</guid><author>xing_mo</author><pubDate>Tue, 18 Feb 2020 21:54:25 +0800</pubDate><description><![CDATA[2017 ACM-ICPC 亚洲区（西安赛区）网络赛 A Tree
https://nanti.jisuanke.com/t/A1267
There is a tree with nn nodes, at which attach a binary 64*6464∗64 matrix M_i (1 \le i \le n)M
i
​	
(1≤i≤n). There are qq queries f...]]></description><category></category></item><item><title><![CDATA[Codeforces Round #620 (Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/104336520</link><guid>https://blog.csdn.net/xing_mo/article/details/104336520</guid><author>xing_mo</author><pubDate>Sat, 15 Feb 2020 23:33:28 +0800</pubDate><description><![CDATA[Codeforces Round #620 (Div. 2)
https://codeforces.com/contest/1304
A - Two Rabbits
思路：注意特判a+b等于0的情况就好
#include&lt;bits/stdc++.h&gt;
using namespace std;
int x,y,a,b;
int main()
{
	int t;
	scanf("%d",&...]]></description><category></category></item><item><title><![CDATA[Codeforces Round #619 (Div. 2)]]></title><link>https://blog.csdn.net/xing_mo/article/details/104326689</link><guid>https://blog.csdn.net/xing_mo/article/details/104326689</guid><author>xing_mo</author><pubDate>Sat, 15 Feb 2020 13:34:32 +0800</pubDate><description><![CDATA[Codeforces Round #619 (Div. 2)
https://codeforces.com/contest/1301
A - Three Strings
思路：只要a[i],b[i]中的一个和c[i]相等，直接把另一个和c[i]换就好
#include&lt;bits/stdc++.h&gt;
#define MAXN 105
using namespace std;
char a...]]></description><category></category></item></channel></rss>