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 |
Sample IOHi! Could you please explain the sample input? the first one is (x-1)*(x+1)*(x+1), so the roots are -1,-1,1 : So why -1,1? the second one is (x+1)*(x+1), so the roots are -1,-1: Why in this case we should output -1 twice but in the previous one only once? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator