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 |
终于AC了总想省着点用__int64, 于是把 (10*n+t)/11 处理成 static_cast<int>(10*(n/11.0f)+(t/11.0f)+0.5f) 虽然官方的测试数据都过了,却老是WA. 改成 (10*(__int64)(n)+t)/11就AC了. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator