###### 丙三醇

Stupid boy learn programming . QQ交流：792883735

###### SGU114-Telecasting station
 114. Telecasting station time limit per test: 0.5 sec. memory limit per test: 4096 KB Every city in Berland is situated on Ox axis. The government of the country decided to build new telecasting station. After many experiments Berland scientists came to a conclusion that in any city citizens displeasure is equal to product of citizens amount in it by distance between city and TV-station. Find such point on Ox axis for station so that sum of  displeasures of all cities is minimal. Input Input begins from line with integer positive number N (0 #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; struct N { double x; int p; } a[15009]; int b[15009]; int cmp(N a,N b) { return a.x=mid) { w=i; break; } } printf("%d\n",a[w].x); } return 0; } `

#### sgu114

2014-11-27 21:47:32

#### SGU 114 Telecasting station

2016-08-06 16:57:14

#### sgu 114解题记录

2014-08-04 10:49:33

#### SGU 114 Telecasting station（二分）

2016-08-06 21:48:07

#### sgu 135 + 184 +117+126+114+118+127

2013-07-21 20:51:17

#### SGU 114 Telecasting station（水~）

2016-04-14 19:04:11

#### wifi模块工作在Station模式

2014-03-25 22:27:52

#### 无线网卡AP模式和station模式

2011-05-26 15:17:00

#### LeetCode Gas Station 两个特性，两种方法完美解答-更新证明方法

2013-11-03 17:07:40

#### Gas Station -- LeetCode

2014-04-01 04:05:53

## 不良信息举报

SGU114-Telecasting station