LightOJ 1236 Pairs Forming LCM(算术基本定理)
摘要:Pairs Forming LCM 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
阅读全文
HDU 1540 Tunnel Warfare(线段树,单点更新,区间查询)
摘要:Problem Description During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Gen
阅读全文