阅读背景:

【二维树状数组】【模板】poj1195Mobile phones

来源:互联网 

biu~

Description

Suppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is divided into squares. The squares form an S * S matrix with the rows and columns numbered from 0 to S-1. Each square contains a base station. The number of active mobile phones inside a square can change because a phone is moved from a square to another or a phone is switched on or off. At times, each base station reports the change in the number of active phones to the main base station along with the row and the column of the matrix. Suppose that the fou




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: