自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 Vmware装Kali小记

因为想要做一个wifi jamming 攻击的实验,所以安装了一下在脚本小子中很火的Kali linux,做一个小记录吧首先在安装包的选择上,虽然网上都说32位工具多之类的balabala,但我觉得未来的趋势是64位的天下,所以还是果断选择了64位的安装包,64后面跟名称的好像是不同的桌面视图的意思,我对这个没什么要求,所以选了没后缀的最基本的。看了一下VM专门安装包,感觉意思是装好了之后的可...

2019-05-14 15:59:30 167

原创 leetcode 01 c++ 两数之和

class Solution {public:    vector<int> twoSum(vector<int>& nums, int target) {        vector<int> x;                for(int i1 = 0; i1 < nums.size() - 1;i1++)        { ...

2019-01-22 22:16:58 152

原创 Code Block 中文乱码解决方案

首先在Setting->editor->General settings->Encoding settings->use this encoding中选择as default encoding图例:然后在Setting->compiler中添加语句-finput-charset=GBK-fexec-charset=GBK图例:大功告成!...

2018-11-15 19:22:06 1075

原创 1025(水枪灭火)

这道题的重点就在于排序化简,在计算区间的时候除了遍历比较大小的思路其实还有一种脱胎于括号配对思想的方法,就是当左括号全部被配对成功下一个如果有一定使左括号,并且是一个新的不相关的区间。#include <iostream>#include <algorithm>#include <cstdio>using namespace std;struct Node{  ...

2018-07-12 23:28:38 496

原创 1022(Fib数列)

#include <iostream>using namespace std;int main(){    long long n;    cin >> n;    n = n%2040;    int state1(1),state2(1),state3(0);    if(n==1)cout << state1;    else if(n==2)cout &...

2018-07-03 16:09:50 211

原创 1007(固定格式的大数求和)

#include <iostream>using namespace std;int main(){    char str1[201],str2[201],res_str3[202];    cin >> str1 >> str2;    //确定字符串的长度;    int i1(0),i2(0);    while(str1[i1]!='\0')     ...

2018-07-02 00:14:02 170

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除