【ADS】Parallel Algorithm
Parallel Random Access Machine (PRAM)
EREW PRAM模型(Exclusive-Read Exclusive-Write)。每次只允许一台处理机读或写某一共享单元内容。
CREW PRAM模型(Concurrent-Read Exclusive-Write)。
...
【ADS】AVL Tree
DefinationAn empty binary tree is height balanced. If T is a nonempty binary tree with $T_L$ and $T_R$ as its left and right subtrees, then T is heig
...
【PAT-Advanced】1001 A+B format
ProblemCalculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are le
...