[JSOI2016]灯塔
给定$n$个点的高度$h_i$,求每个点的$p$值使得对于其他所有的点高度$h_j$满足$h_i + p -sqrt{|i-j|}$
$1\len\le 10^5$
感谢@oy的贡献
题目链接 咕咕咕
题目链接
咕咕咕
tth37
Think twice, Code once.
Jiangsu, China
Posts
120
Categories
21
Tags
82
WTF
题解 / 计蒜客
Update your browser to view this website correctly. Update my browser now
×