原创 HDU——2079 選課時間(母函數)

Problem Description 又到了選課的時間了,xhd看着選課表發呆,爲了想讓下一學期好過點,他想知道學n個學分共有多少組合。你來幫幫他吧。(xhd認爲一樣學分的課沒區別) Input 輸入數據的第一行是一個數據T,表

原创 VTK學習之路——讀取並顯示raw體數據文件

數據比較難找,老闆給了個網址,裏面很多數據可以下載: https://klacansky.com/open-scivis-datasets/sorted-by-size.html 數據文件類型(raw): rawDataRead

原创 Faster R-CNN (細節分析)

轉自:https://zhuanlan.zhihu.com/p/31426458 看到目前爲止,寫的最仔細的一篇,解釋了很多細節的地方。 前言 經過R-CNN和Fast RCNN的積澱,Ross B. Girshick在2016年提出

原创 Linux下修改某一文件下所有文件的權限

借鑑自: https://blog.csdn.net/qq_23315711/article/details/80873913 https://blog.csdn.net/q649381130/article/details/7744

原创 HDU——1284 錢幣兌換問題(母函數+打表)

Problem Description 在一個國家僅有1分,2分,3分硬幣,將錢N兌換成硬幣有很多種兌法。請你編程序計算出共有多少種兌法。 Input 每行只有一個正整數N,N小於32768。 Output 對應每個輸入,輸出兌換方法數。

原创 HDU——1160 FatMouse's Speed(DP 最長遞增/減子序列)

Problem Description FatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to tak

原创 HDU——1177 Accepted Today?(簡單排序)

Problem Description Do you remember a sentence “Accepted today?” Yes, the sentence is mentioned frequently in lcy’s cou

原创 HDU——Doing Homework Again(貪心算法)

Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Ever

原创 HDU——1213 How Many Tables(並查集)

Problem Description Today is Ignatius’ birthday. He invites a lot of friends. Now it’s dinner time. Ignatius wants to k

原创 HDU——1159 Common Subsequence(DP 最長公共子序列)

Problem Description   A subsequence of a given sequence is the given sequence with some elements (possible none) left o

原创 HDU——1004 Let the Balloon Rise(map的使用)

Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, th

原创 常見算法模板(更新中)

最小生成樹Prime 例題:HDU 1162 Eddy’s picture #include <cstdio> #include <cmath> #define INF 0x7ffffff using namespace std;

原创 POJ——1050 To the Max(DP + 最大 矩陣和/子段和)

Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-arra

原创 HDU——1161 Eddy's mistakes

Problem Description Eddy usually writes articles ,but he likes mixing the English letter uses, for example “computer sc

原创 HDU——1987 How Many Ways(記憶化搜索 + dp)

Problem Description 這是一個簡單的生存遊戲,你控制一個機器人從一個棋盤的起始點(1,1)走到棋盤的終點(n,m)。遊戲的規則描述如下: 1.機器人一開始在棋盤的起始點並有起始點所標有的能量。 2.機器人只能向右或者