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。。。如果a*b的结果会超出int,很可能发生悲剧 一定要把期中一个强制转换成long long long long res = (long long)(a) * b; 或者干脆把a和b定义成long long,省事。 6个WA啊。。。。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator