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 |
c++中的int和long是一样的,都是32位的In Reply To:Re:求助~~~~~~为什么运行结果为-171798692???郁闷~ Posted by:2003011475 at 2005-02-28 23:15:38 > 当天数超过一定数值时,金币数会超出int类型的表示范围(-32768~32767)。应该改用表示范围更大的数据类型如long类型。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator