摘要:
void RMQ_max_init( int n ) { memset(dp, 0x00, sizeof(dp)); for(int i = 1; i <= n; i++) dp[i][0] = a[i]; for(int j = 1; (1<<j) <= n; j++) for(int i = 1; i+(1<<j)-1 <= n; i++) ... 阅读全文
posted @ 2017-07-26 12:39
黑.白
阅读(160)
评论(0)
推荐(0)

浙公网安备 33010602011771号