原创 Latex 技巧_3:在邊上畫label

如何在一條邊上寫label。 \begin{figure}[h] \centering \begin{tikzpicture}[scale=.5] \tikzstyle{state}=[filled vert

原创 能否根據梯度求原函數?

利用梯度進行原函數的求解。

原创 魔方七步還原口訣

默認 第一層拼好,上層順勾逆回,右層順上逆下,前層順順逆提, 下層順天逆地, 左層順正逆反。 使用口訣的時候有些地方要進行翻的操作,e.g., 對中的操作,需要考慮已經對好的中的位置,適時翻轉(不詳細展開),具體操作請參閱 https:/

原创 Latex 技巧_1:組合數的寫法

(n2){n \choose 2}(2n​) : { n \choose 2 }

原创 --最小生成樹

B - Slim Span Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Description

原创 --hdu2717->搜索的範圍控制

C - 開 Time Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submit Status Practice HDU 2717

原创 --數論->被想複雜的一道題

計算 n/1 + n/2 + n/3 +n/4 + ... + n/n =?   一開始的思路是將n提取出來 :   原式 = n* (1+ 1/2 + 1/3 + 1/4 + ... 1/n)  = n * (ln(n) + c) c

原创 Partition Refinement (in writing ...)

Recently, i am studying the data structure of Partition Refinement. It is an useful technique to partition set. The

原创 Pat 1014 Waiting in Line (30)

Each input file contains one test case. Each case starts with a line containing 4 positive integers: N (<=20, numbe