与‘数据结构-树状数组’有关的日志

poj1804

maksyuki 发表于 oj 分类,标签:
0
poj1804

Brainman

Background

Raymond Babbitt drives his brother Charlie mad. Recently Raymond counted 246 toothpicks spilled all over the floor in an instant just by glancing at them. And he can even count Poker cards. Charlie would love to be able to do >>继续阅读

poj1195

maksyuki 发表于 oj 分类,标签:
0
poj1195

Mobile phones

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 >>继续阅读

lightoj1266

maksyuki 发表于 oj 分类,标签:
0
lightoj1266

1266 - Points in Rectangle

InputAs the name says, this problem is about finding the number of points in a rectangle whose sides are parallel to axis. All the points and rectangles consist of 2D Cartesian co-ordinates. A point that lies in the bound >>继续阅读