HDU - 1166

solution1:

solution2:

## 单点修改， RMQ

1000100 + lowbit(1000100) = 1000100 + 100 = 1001000

1000110 + lowbit(1000110) = 1000110 + 10 = 1001000

1000111 + lowbit(1000111) = 1000111 + 1 = 1001000

HDU-1754

solution1:

solution2: