<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Newtopython的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Newtopython</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Newtopython]]></copyright><item><title><![CDATA[【编译原理】语法分析之预测分析法]]></title><link>https://blog.csdn.net/Newtopython/article/details/126050306</link><guid>https://blog.csdn.net/Newtopython/article/details/126050306</guid><author>Newtopython</author><pubDate>Fri, 29 Jul 2022 11:06:40 +0800</pubDate><description><![CDATA[关于编译原理中语法分析的预测分析法步骤详解]]></description><category></category></item><item><title><![CDATA[MapReduce学习笔记]]></title><link>https://blog.csdn.net/Newtopython/article/details/125639961</link><guid>https://blog.csdn.net/Newtopython/article/details/125639961</guid><author>Newtopython</author><pubDate>Wed, 06 Jul 2022 15:28:24 +0800</pubDate><description><![CDATA[MapReduce学习笔记，做项目用]]></description><category></category></item><item><title><![CDATA[位运算与四则运算]]></title><link>https://blog.csdn.net/Newtopython/article/details/105055703</link><guid>https://blog.csdn.net/Newtopython/article/details/105055703</guid><author>Newtopython</author><pubDate>Sat, 25 Jun 2022 19:18:17 +0800</pubDate><description><![CDATA[1.加法

相异（^）时，本位为1，进位为0；同为1时本位为0，进位为1；同为0时，本位进位均为0.

所以计算加法的思路为：
1.本位：是否相异——异或运算
2.进位：是否同为1——与运算

迭代代码：

#include&lt;stdio.h&gt;
main() {
	int a, b,s;
	scanf_s("%d %d", &amp;a, &amp;b);
	printf("%d", a......]]></description><category></category></item><item><title><![CDATA[我的ACM之旅（二）：位运算乘法]]></title><link>https://blog.csdn.net/Newtopython/article/details/105034539</link><guid>https://blog.csdn.net/Newtopython/article/details/105034539</guid><author>Newtopython</author><pubDate>Mon, 06 Apr 2020 19:43:44 +0800</pubDate><description><![CDATA[1.超时算法
#include&lt;stdio.h&gt;
long long a,b,p;
long long ab(long long x){
    if(x&lt;0){
        x=~x+1;
    }
    else{
        x=x;
    }
    return x;
}
main(){
    scanf("%lld",&amp;a);
    scan...]]></description><category></category></item><item><title><![CDATA[排序算法的那点事（一）选择排序]]></title><link>https://blog.csdn.net/Newtopython/article/details/105028227</link><guid>https://blog.csdn.net/Newtopython/article/details/105028227</guid><author>Newtopython</author><pubDate>Sun, 22 Mar 2020 15:42:07 +0800</pubDate><description><![CDATA[1. 基本原理

第一次从待排序的数据元素中选出最小（或最大）的一个元素，存放在序列的起始位置，然后再从剩余的未排序元素中寻找到最小（大）元素，然后放到已排序的序列的末尾。以此类推，直到全部待排序的数据元素的个数为零

上实例：
9	6	15	4	2
选择最小值2：2 6 15 4 9
选择最小值4：2 4 15 6 9
选择最小值6：2 4 6 15 9
选择最小值9：2 4 6 9 15
2....]]></description><category></category></item><item><title><![CDATA[我的ACM之旅（一）：位运算01：a^b]]></title><link>https://blog.csdn.net/Newtopython/article/details/104997815</link><guid>https://blog.csdn.net/Newtopython/article/details/104997815</guid><author>Newtopython</author><pubDate>Fri, 20 Mar 2020 21:30:00 +0800</pubDate><description><![CDATA[a^b：快速幂的应用


链接：https://ac.nowcoder.com/acm/contest/996/A
来源：牛客网

求 a 的 b 次方对 p 取模的值，其中 0≤a,b,p≤109​0 \leq a,b,p \leq 10^9​0≤a,b,p≤109​
天真的人，很容易写出下面的代码：
#include&lt;stdio.h&gt;
#include&lt;math.h&gt;...]]></description><category></category></item></channel></rss>