<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Bit0]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Baian_Gu</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Baian_Gu]]></copyright><item><title><![CDATA[1025 反转链表]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/121720112</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/121720112</guid><author>Baian_Gu</author><pubDate>Sat, 04 Dec 2021 19:14:35 +0800</pubDate><description><![CDATA[1025 反转链表
记录一道瞎研究了一下午的题…方法比较笨，但好歹是独立把自己的思路实现出来了
给定一个常数 K 以及一个单链表 L，请编写程序将 L 中每 K 个结点反转。例如：给定 L 为 1→2→3→4→5→6，K 为 3，则输出应该为 3→2→1→6→5→4；如果 K 为 4，则输出应该为 4→3→2→1→5→6，即最后不到 K 个元素不反转。
输入格式：
每个输入包含 1 个测试用例。每个测试用例第 1 行给出第 1 个结点的地址、结点总个数正整数 N (≤105)、以及正整数 K (≤N)，即要]]></description><category></category></item><item><title><![CDATA[博客搭建全流程与心得（宝塔+Typecho）]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/121580311</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/121580311</guid><author>Baian_Gu</author><pubDate>Sat, 27 Nov 2021 17:24:07 +0800</pubDate><description><![CDATA[写在前面
我的个人博客终于正式上线了，过程可谓比较艰辛，而且还暂未在网上发现较为完整的博客搭建记录，所以尝试自己写一下，如有不足请多多指正。本文主要记录建立博客的大致流程，操作细节处引用了网上已有的一些文章，在此感谢前人的经验分享。

前期准备

Markdown

在准备搭建自己的博客之前，建议先学习Markdown语法，并在优快云或博客园写一些文章，先养成写博客的习惯，再考虑花费精力搭建属于自己的博客。
Markdown语法学习：Markdown官方教程
Markdown编辑器推荐：Typora
环境]]></description><category></category></item><item><title><![CDATA[Java Object类详解]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/121190414</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/121190414</guid><author>Baian_Gu</author><pubDate>Sun, 07 Nov 2021 13:22:19 +0800</pubDate><description><![CDATA[equals()与==运算符
==运算符：
​	比较变量时，正常进行值比较；比较对象时，进行地址比较，判定是否为同一对象
equals()：
​	a.equals(b)是Object类中的方法，被String类等内置类重写，用于比较两个对象的值是否相等；而在没有重写该方法的自定义类中，equals默认调用Object类中的方法，判断两个对象是否相同，是否为同一地址。
hashCode()
AA aa = new AA();
System.out.println("aa.hashCode()=" + aa.h]]></description><category></category></item><item><title><![CDATA[Java异常]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/121175130</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/121175130</guid><author>Baian_Gu</author><pubDate>Sat, 06 Nov 2021 10:12:13 +0800</pubDate><description><![CDATA[异常
Java语言中，程序执行中发生的不正常情况被称为“异常”。（开发过程中的语法错误和逻辑错误不是异常）

Error： Java虚拟机无法解决的严重问题，严重错误，程序会崩溃。
Exception：一般性问题，分为运行时异常与编译时异常。

异常体系图


异常分为两大类：运行时异常与编译时异常
运行时异常，编译器查不出来，一般指编程时的逻辑错误。这种异常很普遍，可以不做处理，尽量避免。
编译时异常是编译器要求必须处置的异常。
Java 程序通常不捕获错误。错误一般发生在严重故障时，它们在Java程序处]]></description><category></category></item><item><title><![CDATA[Java枚举和注解]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/121088473</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/121088473</guid><author>Baian_Gu</author><pubDate>Mon, 01 Nov 2021 20:54:29 +0800</pubDate><description><![CDATA[枚举
需求：建立一个只有固定的、有限的几个值的对象，只读，不需要修改。
解决方案：枚举

枚举对应英文 enumeration 简写 enum
枚举是一组常量的集合
枚举属于一种特殊的类，里面只包含一组有限的限定的对象

枚举的实现方式

自定义类实现枚举
使用 enum 关键字实现枚举

自定义类实现枚举

将构造器私有化，防止直接 new
可以提供get方法，但不提供 set 方法，防止属性被修改
在类的内部，直接创建固定的对象，使用 final+static 共同修饰，实现底层优化。
对象名通常使用全]]></description><category></category></item><item><title><![CDATA[Java面向对象]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120940327</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120940327</guid><author>Baian_Gu</author><pubDate>Sun, 24 Oct 2021 20:34:01 +0800</pubDate><description><![CDATA[静态方法与非静态方法
静态方法
public class Student {
    public static void say(){
    	System.out.println("学生说话了");
	}
}
public class Demo1{
    
    public static void main(String[] args){
    	Student.say(); //可直接调用
	}
}

非静态方法
public class Student {
    public void ]]></description><category></category></item><item><title><![CDATA[Java数组]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120940274</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120940274</guid><author>Baian_Gu</author><pubDate>Sun, 24 Oct 2021 20:33:26 +0800</pubDate><description><![CDATA[数组声明创建
声明
dataType[] arrayRefVar;		//首选的方法
dataType arrayRefVar[];		//效果相同

使用new操作符创建数组
dataTpye[] arrayRefVar = new dataType[arraySize]

获取数组长度
arrays.length

三种初始化
静态初始化
int[] a = {1,2,3,4,5};

动态初始化
int[] b = new int[10];
b[0] = 10;

默认初始化
int数组默认值为0，s]]></description><category></category></item><item><title><![CDATA[Java方法]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120913519</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120913519</guid><author>Baian_Gu</author><pubDate>Fri, 22 Oct 2021 21:15:05 +0800</pubDate><description><![CDATA[何谓方法
Java方法是语句的集合，他们在一起执行一个功能
方法包含于类或对象中
类似于C中函数
方法的定义与调用
定义
修饰符 返回值类型 方法名(参数类型 参数名){
	...
    方法体
    ...
    return 返回值;
}

调用
对象名.方法名(实参列表)
当方法返回一个值时
int larger = max(30,40);

当方法返回值是void，调用一定是一条语句
System.out.println("HELLO!");

方法的重载
重载就是在一个类中，有相同的方法名，]]></description><category></category></item><item><title><![CDATA[Java流程控制]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120913510</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120913510</guid><author>Baian_Gu</author><pubDate>Fri, 22 Oct 2021 21:14:31 +0800</pubDate><description><![CDATA[用户交互Scanner
Scanner对象
基本语法
Scanner s = new Scanner(System.in);

通过next()与nextLine()方法获取输入的字符串，使用hasNext()与hasNextLine()判断是否还有输入的数据。
next()
1.一定要读取到有效字符后才可以结束输入。
2.对输入的字符之前遇到的空白，next()方法会自动将其去掉。
3.只有输入有效字符后才将其后面输入的空白作为分隔符或结束符。
4.next()不能得到带有空格的字符串。
nextLine]]></description><category></category></item><item><title><![CDATA[Java基础]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120913489</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120913489</guid><author>Baian_Gu</author><pubDate>Fri, 22 Oct 2021 21:13:55 +0800</pubDate><description><![CDATA[标识符
标识符可以是字母、$、_、或数字的任何字符组合，但不能以数字开始。大小写敏感！

数字类型
Java是强类型语言，所有变量必须先定义才能使用
基本类型
数字类型
​		byte short int long float double char
​		最好完全使用浮点数进行比较。
​		所有的字符本质还是数字（Unicode编码）
boolean类型
​		只有两个值，true flase
引用类型
​		类 接口 数组

类型转换
强制类型转换 （类型）变量名 高 – 低
自动类型转换  低 – 高]]></description><category></category></item><item><title><![CDATA[攻防世界Misc赛题记录]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120758180</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120758180</guid><author>Baian_Gu</author><pubDate>Thu, 14 Oct 2021 11:23:33 +0800</pubDate><description><![CDATA[János-the-Ripper

题目：

https://adworld.xctf.org.cn/task/answer?type=misc&amp;number=1&amp;grade=1&amp;id=4756&amp;page=1

知识点：

1.010查看文件，PK开头为zip文件标志。

2.zip压缩包若非伪加密（09 00），密码可尝试爆破（Advanced Archive Password Recovery）



hit-the-core

题目：

https://adworld.]]></description><category></category></item><item><title><![CDATA[攻防世界Web赛题记录]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120741797</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120741797</guid><author>Baian_Gu</author><pubDate>Wed, 13 Oct 2021 13:40:20 +0800</pubDate><description><![CDATA[Cat

题目：https://adworld.xctf.org.cn/task/answer?type=web&amp;number=3&amp;grade=1&amp;id=4658&amp;page=2

Writeup：

攻防世界-web-Cat(XCTF 4th-WHCTF-2017)_Sea_Sand息禅-优快云博客

攻防世界 | CAT - laolao - 博客园

[CTF题目总结-web篇]攻防世界：Cat_T2hunz1-优快云博客

知识点：

1.输入字符 get传递在网址]]></description><category></category></item><item><title><![CDATA[CTF学习经验分享（Web方向）]]></title><link>https://blog.youkuaiyun.com/Baian_Gu/article/details/120709851</link><guid>https://blog.youkuaiyun.com/Baian_Gu/article/details/120709851</guid><author>Baian_Gu</author><pubDate>Mon, 11 Oct 2021 21:06:21 +0800</pubDate><description><![CDATA[本人Web安全初学者，记录分享一下学习历程，推荐评价仅代表个人观点，不足之处欢迎各位表哥指正……

CTF基础知识：分类: 基础知识 | CTFHubEnjoy your's CTFhttps://writeup.ctfhub.com/categories/Skill/%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86/CTFHub这里讲得很全面了……题目类型、比赛模式都有

学习视频：

 1. i春秋渗透测试工程师就业班-基础篇vm和L...]]></description><category></category></item></channel></rss>