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 |
要用long long.....因为题目给的数据是2^31,还以为用int就够了呢,结果WA了10+次,中间乘的时候有强制类型转换,快崩溃了,就试了下把所有的转换成long long就AC了,无限悲剧啊 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator