Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
其实很容易假设2^51个球落下,模拟下落,O(n*n)的复杂度,得到那个m的位置有几个球,之后求一下最大公倍数就行,0ms 注意一下m那里没有球的时候要特判 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator