原创 hdu 2955_揹包經典

The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the

原创 浙工大之江學院第0屆校賽 持續補題

Problem A: qwb與支教 Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 1463  Solved: 271 [Submit][Status][Web Board] Desc

原创 hdu6150 構造題_ccpc

Vertex Cover Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 256000/256000 K (Java/Others) Total Submission(s)

原创 數位dp彙總

參考了一些博客中的題目推薦,然後再補了下數位dp。 首先是最近的一場ccpc網絡賽的題。 Palindrome Function Time Limit: 8000/4000 MS (Java/Others)    Memory Lim

原创 Hdu_6166多源多匯最短路

Senior Pan Time Limit: 12000/6000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s):

原创 樹狀數組求逆序數

內容註釋都在代碼裏面#include<iostream> #include<cstdio> #include<vector> #include<cstring> #include<algorithm> using namespace st

原创 女生賽hdu6027

Problem Description You are encountered with a traditional problem concerning the sums of powers. Given two integers 

原创 POJ2104 hdu2665 主席樹入門 Kth-number

—網易遊戲雷火盤古校園招聘開始! Kth number Time Limit: 15000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) T

原创 HDU 2604_遞推+矩陣快速冪

Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5546    Accep

原创 LCA_ST算法

#include<bits/stdc++.h> using namespace std; const int maxn = 4e4+5; struct Edge{ int v,next,val; }edge[maxn*2]; //ord

原创 hdu 3549 網絡流EK裸題

  科技大學!  Flow Problem Time Limit: 5000/5000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Su

原创 女生賽hdu6025

Do you know what is called ``Coprime Sequence''? That is a sequence consists of n positive integers, and the GCD (Gre

原创 可持續化Trie_區間異或最大_bzoj3261

【bzoj3261】最大異或和 Description 給定一個非負整數序列 {a},初始長度爲 N。 有   M個操作,有以下兩種操作類型: 1 、A x:添加操作,表示在序列末尾添加一個數 x,序列的長度 N+1。 2

原创 關於Deepin下的一些常用軟件的安裝及環境配置/py/mongodb

我用的是Deepin 15的,默認自帶的是Python2.7,需要安裝3.x的可以直接去anaconda下下載,然後大禮包,pip install xxx安裝你想要的即可。 然後是mongodb的配置,先去官網上下下來,(需要的話可以私我

原创 hdu_1054最小點覆蓋樹上

Strategic Game Time Limit: 20000/10000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(