博奕,dp之#include <stdio.h>#include <algorithm>#define oo 2147483647using nam......(全文)
表:2012-11-28 08:19 | 人:227 | 回:0
作法,dp[n][m] n 西 m 堆。dp[n+1][j] += dp[n][j]*j (其中一堆, j 可能)dp[n+1][j+1] += dp[n][j] (多......(全文)
表:2012-11-28 08:01 | 人:108 | 回:0
Greedy。值由大排到小,依序排入理想位,如果不足就。#include <stdio.h>#include <algorithm>using n......(全文)
表:2012-11-27 17:45 | 人:88 | 回:0
不算,是在卡,很清楚地我知道要行矩乘,也就是 N*N 的矩乘 E-S 次,最後乘上一 N*1 的矩。不能直接做矩乘法,因消耗 O(N*N*N)......(全文)
表:2012-11-27 17:03 | 人:97 | 回:0
Sample Input34 4 1 1 1 14 5 10 20 30 40 505 10 1 6 2 5 3 4 4 3 5 2Sample OutputCongratulat......(全文)
PTC、< href='/zerojudge/search/Princess%27s/'>Princess's、
Marriage 表:2012-11-04 17:45 | 人:255 | 回:0
BackgroundPTC 噩啊, 比一小後, 我才通回 ... 最果 4 , 好不容易看懂 pD 的繁英文, 我悲摧的不及完, 在 compile,......(全文)
表:2012-10-03 08:39 | 人:291 | 回:1
考局, 事上就台科大工跟中央工要取我, 但出於台科大比晚才通知我, 而且是 8/30, 我在中央都已到完了, 也很多人所校差不大, 但如果是了......(全文)
表:2012-09-02 10:33 | 人:30163 | 回:28
做一次背包, 替除, 再做一次, 持 ...做法不保正, 但可通#include <stdio.h>#include <iostream>#in......(全文)
表:2012-08-30 23:00 | 人:35 | 回:0
Problem DescriptionCompany A has several production lines. These production lines have agl......(全文)
表:2012-08-30 22:57 | 人:91 | 回:0
Problem DescriptionThe one who buys and eats a bag of instant noodles everyday is known as......(全文)
表:2012-08-30 22:51 | 人:214 | 回:0
Problem BTree BalanceInput le: testdata.inTime limit: 1 secondsProblem DescriptionWe have......(全文)
表:2012-06-30 08:07 | 人:180 | 回:0
Problem ECircular CodesInput le: testdata.inTime limit: 10 secondsProblem DescriptionThe ......(全文)
表:2012-06-30 08:00 | 人:134 | 回:0
Problem CElevatorInput file: testdata.inTime limit: 2 secondsProblem DescriptionIn a skysc......(全文)
表:2011-12-30 07:50 | 人:272 | 回:0