摘要:
Find the result of the following code: long long pairsFormLCM( int n ) { long long res = 0; for( int i = 1; i <= n; i++ ) for( int j = i; j <= n; j++ 阅读全文
摘要:
Longge is good at mathematics and he likes to think about hard mathematical problems which will be solved by some graceful algorithms. Now a problem c 阅读全文
摘要:
看了网络流,别人都是用链式前向星写。。。没学过的我真的看不懂 这就回来补了补 用这个结构是因为邻接矩阵的太浪费空间,占内存,用这个高效快速 我一开始是看懵逼了 手动画画才理解 咳咳。。图有点丑 将就着和下面的一起耐心看看就应该能理解 阅读全文