Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:无敌了....——_——|||

Posted by ljfljf2007 at 2009-08-13 16:37:08 on Problem 2115 and last updated at 2009-08-13 16:44:37
In Reply To:无敌了....——_——||| Posted by:Gilgamesh at 2009-04-27 00:26:44
> 用  1<<k  就wa
> 用   (__int64)1<<k  就ac
> 怎么回事??自己机上输出结果是一样的啊!!

谢谢,我也是错在这个地方。
因为如果没显式标明的话,常量1编译器是当成int处理的,这样当k>30时就会有问题。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator