Mobile phones
Time Limit: 5000MS | Memory Limit: 65536K | |
Total Submissions: 7178 | Accepted: 3075 |
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 ph