<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[SeNiLS的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/SeNiLS</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; SeNiLS]]></copyright><item><title><![CDATA[浙大版《Python 程序设计》题目集]]></title><link>https://blog.csdn.net/SeNiLS/article/details/118307075</link><guid>https://blog.csdn.net/SeNiLS/article/details/118307075</guid><author>SeNiLS</author><pubDate>Mon, 28 Jun 2021 16:38:59 +0800</pubDate><description><![CDATA[编程题
第3章-6 求整数序列中出现次数最多的数
#counter类：为hashable对象计数，是字典的子类
#counter类的目的是用来跟踪值出现的次数。它是一个无序的容器类型，以字典的键值对形式存储
#其中元素作为key，其计数作为value.计数值可以是任意的interger(包括0和负数)
from collections import Counter

list = list(map(int, input().split())) #以空格为分隔符输入整数

list.pop(0) #删除列表里]]></description><category></category></item><item><title><![CDATA[python基础之面向对象高级编程]]></title><link>https://blog.csdn.net/SeNiLS/article/details/118189142</link><guid>https://blog.csdn.net/SeNiLS/article/details/118189142</guid><author>SeNiLS</author><pubDate>Thu, 24 Jun 2021 22:34:26 +0800</pubDate><description><![CDATA[目录使用__slots__使用@property多重继承定制类
使用__slots__
  正常情况下，当我们定义了一个class，创建了一个class的实例后，我们可以给该实例绑定任何属性和方法，这就是动态语言的灵活性。先定义class，然后尝试给实例绑定一个属性，还可以尝试给实例绑定一个方法。但是，给一个实例绑定的方法，对另一个实例是不起作用的。为了给所有实例都绑定方法，可以给class绑定方法
class Student(object):
    pass

def set_score(self, s]]></description><category></category></item><item><title><![CDATA[Python基础之面向对象编程]]></title><link>https://blog.csdn.net/SeNiLS/article/details/118185683</link><guid>https://blog.csdn.net/SeNiLS/article/details/118185683</guid><author>SeNiLS</author><pubDate>Thu, 24 Jun 2021 15:11:41 +0800</pubDate><description><![CDATA[目录类和实例数据封装访问限制继承和多态获取对象信息实例属性和类属性
类和实例
  在python中，定义类是通过class关键字。
class Student(object):
	pass

  定义好了类，就可以通过类创建出类的实例，创建实例是通过类名+()实现的
bart = Student()

  就是一个Student的实例
  由于类可以起到模板的作用，因此可以在创建实例的时候，把一些我们认为必须绑定的属性强制填写进去。通过定义一个特殊的__init__方法，在创建实例的时候，就把name，sc]]></description><category></category></item><item><title><![CDATA[Python基础之模块]]></title><link>https://blog.csdn.net/SeNiLS/article/details/118181832</link><guid>https://blog.csdn.net/SeNiLS/article/details/118181832</guid><author>SeNiLS</author><pubDate>Thu, 24 Jun 2021 11:16:36 +0800</pubDate><description><![CDATA[目录使用模块安装第三方模块作用域
使用模块
安装第三方模块
作用域
  类似__xxx__这样的变量是特殊变量，可以被直接引用，但是有特殊用途，我们自己的变量一般不用这种变量名。
  我们在模块里公开greeting()函数，而把内部逻辑用private函数隐藏起来了，这样，调用greeting()函数不用关心内部的private函数细节，这也是一种非常有用的代码封装和抽象的方法，即外部不需要引用的函数全部定义成private，只有外部需要引用的函数才定义为public

...]]></description><category></category></item><item><title><![CDATA[6 函数式编程]]></title><link>https://blog.csdn.net/SeNiLS/article/details/118152945</link><guid>https://blog.csdn.net/SeNiLS/article/details/118152945</guid><author>SeNiLS</author><pubDate>Wed, 23 Jun 2021 17:43:57 +0800</pubDate><description><![CDATA[目录函数式编程高阶函数map/reducefiltersorted
函数式编程
  函数是Python内建支持的一种封装，我们通过把大段代码拆成函数，通过一层一层的函数调用，就可以把复杂任务分解成简单的任务，这种分解可以称之为面向过程的程序设计。函数就是面向过程的程序设计的基本单元。
  函数式编程是一种抽象程度很高的编程范式，纯粹的函数式编程语言编写的函数没有变量，因此，任意一个函数，只要输入是确定的，输出就是确定的，这种纯函数我们称之为没有副作用。而允许使用变量的程序设计语言，由于函数内部的变量状态不确]]></description><category></category></item><item><title><![CDATA[Python 5.高级特性]]></title><link>https://blog.csdn.net/SeNiLS/article/details/118148311</link><guid>https://blog.csdn.net/SeNiLS/article/details/118148311</guid><author>SeNiLS</author><pubDate>Wed, 23 Jun 2021 14:35:07 +0800</pubDate><description><![CDATA[高级特性列表生成式生成器迭代器
列表生成式
列表生成式即List Comprehensions，是Python内置的非常简单却强大的可以用来创建list的生成式。
例1：生成list[1,2,3,4,5,6,7,8,9,10]
&gt;&gt;&gt; list(range(1,11))
[1,2,3,4,5,6,7,8,9,10]

例2：生成[1 ×\times× 1,…n ×\times× n ]
&gt;&gt;&gt; [x * x for x in range(1,11)]
[1, 4, 9, ]]></description><category></category></item><item><title><![CDATA[网络安全与技术]]></title><link>https://blog.csdn.net/SeNiLS/article/details/115276259</link><guid>https://blog.csdn.net/SeNiLS/article/details/115276259</guid><author>SeNiLS</author><pubDate>Sun, 28 Mar 2021 09:25:49 +0800</pubDate><description><![CDATA[1.数字证书采用公钥体制进行加密和解密。每个用户有一个私钥，用它进行解密和签名;同时每个
用户还有一个公钥，用于加密和验证。X.509标准规定，数字证书由证书授权中心CA 发放，将其
放入公共目录中，以供用户访问。X.509数字证书中的签名字段是指发证机构对用户证书的签名 
。如果用户UA从A地的发证机构取得了证书，用户UB从B地的发证机构取得了证书，那么 UA通过一
个证书链可以与UB进行安全通信。
2.数字签名实现了完整性验证、身份验证，但不涉及信息本身的加密。
3.CA是PKI的核心，CA负责管理PK]]></description><category></category></item><item><title><![CDATA[网络规划与设计]]></title><link>https://blog.csdn.net/SeNiLS/article/details/115270498</link><guid>https://blog.csdn.net/SeNiLS/article/details/115270498</guid><author>SeNiLS</author><pubDate>Sat, 27 Mar 2021 19:47:26 +0800</pubDate><description><![CDATA[1.网络设计过程包括逻辑网络设计和物理网络设计两个阶段，每个阶段都要产生相应的文档。以下
选项中，网络IP 地址分配方案属于逻辑网络设计文档，设备列表清单属于物理网络设计文档。
2.网络系统设计过程中，物理网络设计阶段的任务是依据逻辑网络设计的要求，确定设备的具体物
理分布和运行环境
3.网络安全体系设计可从物理线路安全、网络安全、系统安全、应用安全等方面来进行，其中数据
库容灾属于系统安全和应用安全
4.网络系统应采用开放标准和技术
5.接入层是网络系统的最外层，为用户提供了网络访问接口。接入层面向终端用]]></description><category></category></item><item><title><![CDATA[知识产权与标准化]]></title><link>https://blog.csdn.net/SeNiLS/article/details/115194531</link><guid>https://blog.csdn.net/SeNiLS/article/details/115194531</guid><author>SeNiLS</author><pubDate>Thu, 25 Mar 2021 09:06:10 +0800</pubDate><description><![CDATA[1.广义的著作权，也称为版权，是指文学、艺术和科学作品等创作的作者或传播者对其作品所享有
的人身权和财产权。

2.根据《中华人民共和国计算机软件保护条例》的规定，软件著作权人享有翻译权，即将原软件从
一种自然语言文字转换成另一种自然语言文字的权利。未经软件著作权人许可，发表或者登记其软
件的行为，构成计算机软件侵权。

3.计算机软件著作权保护的对象是计算机软件，不延及开发软件所用的思想、处理过程、操作方法
或者数学概念等。计算机软件是指计算机程序及其有关文档计算机程序，是指为了得到某种结果而
可以由计算]]></description><category></category></item><item><title><![CDATA[Android  Date]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114943655</link><guid>https://blog.csdn.net/SeNiLS/article/details/114943655</guid><author>SeNiLS</author><pubDate>Wed, 17 Mar 2021 19:16:24 +0800</pubDate><description><![CDATA[TextClock文本时钟可以以字符串格式显示当前的日期和时间，它提供了两种不同的格式，一种是
在24禁止中显示时间和日期，另一种是在12禁止中显示时间和日期。
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto]]></description><category></category></item><item><title><![CDATA[Android RadioButton与Checlbox]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114936957</link><guid>https://blog.csdn.net/SeNiLS/article/details/114936957</guid><author>SeNiLS</author><pubDate>Wed, 17 Mar 2021 18:21:25 +0800</pubDate><description><![CDATA[RadioButton的一些方法：
	getchildCount():获得按钮组中的单选按钮的数目
	getchinIdAt(i):根据索引值获取我的单选按钮
	isChecked():判断按钮是否被选中
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.an]]></description><category></category></item><item><title><![CDATA[Android ImageView]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114904200</link><guid>https://blog.csdn.net/SeNiLS/article/details/114904200</guid><author>SeNiLS</author><pubDate>Wed, 17 Mar 2021 16:10:17 +0800</pubDate><description><![CDATA[src和background属性的区别
	background通常指的是背景，src通常指的是内容
	当使用src填入图片时，是按照图片大小直接填充，并不会进行拉伸，而使用background填入
图片，则是会根据ImageView给定的宽度来拉伸。


...]]></description><category></category></item><item><title><![CDATA[Android  TextView文本框及shape属性]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114779061</link><guid>https://blog.csdn.net/SeNiLS/article/details/114779061</guid><author>SeNiLS</author><pubDate>Sun, 14 Mar 2021 11:28:06 +0800</pubDate><description><![CDATA[TextView文本框，用于显示文本的一个控件
autoLink属性是用来识别链接类型的。
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.a]]></description><category></category></item><item><title><![CDATA[Android开发知识]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114736240</link><guid>https://blog.csdn.net/SeNiLS/article/details/114736240</guid><author>SeNiLS</author><pubDate>Sat, 13 Mar 2021 12:20:16 +0800</pubDate><description><![CDATA[1.ID字符串名称，在同一布局中必须使唯一的，不能重名，不同布局中可以重名
2.位置和尺寸的单位是像素(px)
3.px与dp的区别
px:1px代表屏幕上一个物理的像素点。给视图设置px单位，不同分辨率下尺寸不一样。
dp:设备无关像素，与像素密度密切相关。
4.dpi(像素密度):每英寸包含的像素数。


...]]></description><category></category></item><item><title><![CDATA[Android  GridLayout网格布局]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114739692</link><guid>https://blog.csdn.net/SeNiLS/article/details/114739692</guid><author>SeNiLS</author><pubDate>Sat, 13 Mar 2021 12:17:09 +0800</pubDate><description><![CDATA[&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="matc]]></description><category></category></item><item><title><![CDATA[Android FrameLayout帧布局]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114738615</link><guid>https://blog.csdn.net/SeNiLS/article/details/114738615</guid><author>SeNiLS</author><pubDate>Sat, 13 Mar 2021 12:05:19 +0800</pubDate><description><![CDATA[最简单的一种布局，没有任何定位方式，当我们往里面添加控件的时候，会默认把它们放到区域的
左上角，帧布局的大小由最大的子控件决定，如果控件的大小一样的话，那么同一时刻就只能看大
最上面的那个组件，后续添加的控件会覆盖前一个。
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://sc]]></description><category></category></item><item><title><![CDATA[Android RelativeLayout 相对布局]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114738254</link><guid>https://blog.csdn.net/SeNiLS/article/details/114738254</guid><author>SeNiLS</author><pubDate>Sat, 13 Mar 2021 11:52:46 +0800</pubDate><description><![CDATA[&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="]]></description><category></category></item><item><title><![CDATA[Android  LinearLayout线性布局]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114735497</link><guid>https://blog.csdn.net/SeNiLS/article/details/114735497</guid><author>SeNiLS</author><pubDate>Sat, 13 Mar 2021 11:35:33 +0800</pubDate><description><![CDATA[1.位置和尺寸的单位是像素(px)
2.px与dp的区别
px:1px代表屏幕上一个物理的像素点。给视图设置px单位，不同分辨率下尺寸不一样。
dp:设备无关像素，与像素密度密切相关。
3.dpi(像素密度):每英寸包含的像素数。


...]]></description><category></category></item><item><title><![CDATA[C语言第三页笔记]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114677768</link><guid>https://blog.csdn.net/SeNiLS/article/details/114677768</guid><author>SeNiLS</author><pubDate>Thu, 11 Mar 2021 20:08:44 +0800</pubDate><description><![CDATA[61.对一个P进制的数，如果要转换为Q进制，需要分为两步：第一步先将P进制数转换为十进制
数，第二步再将十进制数转换为Q进制数
62.散列：将元素通过一个函数转换为整数，使得该整数可以尽量唯一地代表这个元素。其中把这
个函数称为散列函数H。
63.除留余数法是指把key除以一个数mod得到的余数作为hash值的方法，即H(key)=key%mod;
64.线性探查法：当得到key的hash值H(key),但是表中下标为H(key)的位置已经被某个其他元素
使用了，那么就检查下一个位置H(key)+1是否被占]]></description><category></category></item><item><title><![CDATA[排序]]></title><link>https://blog.csdn.net/SeNiLS/article/details/114532019</link><guid>https://blog.csdn.net/SeNiLS/article/details/114532019</guid><author>SeNiLS</author><pubDate>Mon, 08 Mar 2021 15:27:40 +0800</pubDate><description><![CDATA[1.选择排序
	简单选择排序是指对一个序列A中的元素A[1]-A[n],令i从1到n进行枚举,进行n趟操作,每趟
从待排序部分[i,n]中选择最小的元素,令其与待排序部分的第一个元素进行交换。
	代码如下:
	void selectSort()
	{
		for(int i=1;i&lt;=n;i++)
		{
			int k=i;
			for(int j=i;j&lt;=n;j++)
			{
				if(A[j]&lt;A[i])
					k=j;
			}
			int temp=A[i];
]]></description><category></category></item></channel></rss>