hdu1022(Train Problem I)
點擊打開鏈接 Problem DescriptionAs the new term comes, the Ignatius Train Station
ACdream 1113 The Arrow (概率dp求期望)
The ArrowTime Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB
Codeforces 148E Porcelain (預處理+多重背包)
E. Porcelain time limit per test:3 seconds memory limit per test:256 megab
Codeforces 148D Bag of mice (概率dp)
D. Bag of mice time limit per test:2 seconds memory limit per test:256 meg
POJ 3080 Blue Jeans kmp+暴力枚舉
D - Blue Jeans Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d &
Codeforces Round #315 (Div. 2) C. Primes or Palindromes? 素數表 回文數
C. Primes or Palindromes? time limit per test 3 seconds memory limit per t
Codeforces Round #315 (Div. 2) B. Inventory
B. Inventory time limit per test 1 second memory limit per test 256 megabytes in
Codeforces Round #315 (Div. 2) A. Music
A. Music time limit per test 2 seconds memory limit per test 256 megabytes input
hdu3549Flow Problem 最大流模板水題
#include#include#include#includeusing namespace std ;const int maxn = 1010 ;cons
hdu 1058 Humble Numbers(dp)
看的題解。。。不知道這些方法都是怎麼想出來的,好厲害啊,估計我是想不出來的,用b2,b3,b5,b7來分別記錄從第幾位數開始還沒有乘對應的2,3,5,7然後比較
UVALive 7043 International Collegiate Routing Contest(字典樹)
題意: 輸入IPv4地址空間中的一些子網號,構成一個網絡集合。 輸出個數最小的一個網絡集合,要求其與輸入集合沒有交集,且相對與IPv4地址空間全集,與輸入集合互
hdu3572Task Schedule 最大流
//n個任務,m台機器//每個任務都有開始工作的時間,結束的時間和需要一台機器工作的天數//每個任務的工作可以斷開,只需要在規定的時間內用機器工作規定天數//在