原创 數獨c++解決 dfs+減枝

  刷華爲的機試題(傳送門:數獨),刷到了一個關於數獨的題目,以爲數獨還有什麼特殊的解,自己寫了個減枝的dfs過了83%的數據,但是好多同學都有同樣的問題,估計使題目的問題把,這題有多解但是做法不同,就有不同的答案,但是答案都是正確的,然

原创 Ubuntu18.04下安裝配置VScode以及VS的使用總結

      不知道爲什麼,我的Ubuntu18.04用codeblock異常的難受我一起之下就把它給卸載了,發現在Ubuntu上只有Pycharm,win10上只有codeblock,Dev-c++真的難受。突然有一天看博客有那些ide好

原创 power oj 2840: 伯陵防線 思維+樹狀數組

2840: 伯陵防線 Time Limit: 1000 MS Memory Limit: 262144 KB Total Submit: 9 Accepted: -4 Page View: 81Submit Status Discuss

原创 power oj 2839: 假裝這是簽到題 二分

2839: 假裝這是簽到題   Time Limit: 2000 MS Memory Limit: 262144 KB Total Submit: 39 Accepted: 9 Page View: 153Submit Status Di

原创 Ubuntu18.04下安裝MySQL,以及mysql workbench的畫ER圖及導入數據庫(多圖)

Ubuntu 安裝MySQL: 在csdn上搜如何在Ubuntu 上安裝MySQL一定會冒出 sudo apt install mysql-server 這樣的東西,這個東西一點沒錯,但是如果你按照這樣做的話會出大問題,比如: mys

原创 codeforces1101D.GCD Counting 數論+DP+dfs

D. GCD Counting time limit per test 4.5 seconds memory limit per test 256 megabytes input standard input output standar

原创 在Ubuntu16.04上安裝VScode

在Ubuntu下面安裝Visual Studio Code sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get i

原创 Ubuntu16.04下安裝配置VScode以及VS的使用總結

      不知道爲什麼,我的Ubuntu16.04用codeblock異常的難受我一起之下就把它給卸載了,發現在Ubuntu上只有Pycharm,win10上只有codeblock,Dev-c++真的難受。突然有一天看博客有那些ide好

原创 Python搭建自己的ip代理池學習總結

    剛剛學習了爬蟲入門爬取小說,覺得那是不夠的,很多時候你僅僅僞裝成瀏覽器是解決不了問題的,還需要解決別人封你的ip的問題,所以我又學習瞭如何爬蟲是更換自己的ip,想要有足夠的ip來供你更換,一定得先搭建你的ip代理池,那麼我們就先搭

原创 Python爬蟲+requests+僞裝瀏覽器 爬取小說入門總結

前言:       Python越來越流行,跟着時代的進程,我也不用全身心的投入訓練,我也來玩玩Python,想着以後工作應該不會有windows的所以我就去安裝了Ubuntu 和win10的雙系統,這個現在網上到處都是教程我就不細說了,

原创 codeforces 1091D New Year and the Permutation Concatenation 組合數

D. New Year and the Permutation Concatenation time limit per test 2 seconds memory limit per test 256 megabytes input s

原创 ZOJ 4062(2018ICPC青島E) Plants vs. Zombies 思維+二分答案

Plants vs. Zombies Time Limit: 2 Seconds      Memory Limit: 65536 KB BaoBao and DreamGrid are playing the game Plants

原创 codeforces1090D 思維題

D. Similar Arrays time limit per test 1 second memory limit per test 512 megabytes input standard input output standard

原创 codeforce 1076D Edge Deletion 最短路+搜索+dij標記在隊

D. Edge Deletion time limit per test 2.5 seconds memory limit per test 256 megabytes input standard input output standa

原创 HDU 6230 Palindrome Manacher+樹狀數組

Alice like strings, especially long strings. For each string, she has a special evaluation system to judge how elegant