摘要: u Calculate eTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23177Accepted Submission(s): 10216Problem DescriptionA simple mathematical formula for e iswhere n is allowed to go to infinity. This can actually yield very accurate approximations of e 阅读全文
posted @ 2013-04-28 20:48 Geekers 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 下午回来写HDOJ 1008,一看题目觉得真的很简单,,写着写着,,写完了突然发现AC不了,,调试之后发现还是没问题,但就是AC不了。无奈之下看了别人写的代码,原来是自己题目理解错误了,题目的意思是到了该楼层再停,,我误以为是每层都停下来,,所以写错了。。。。这题确实是一道水题。。http://acm.hdu.edu.cn/showproblem.php?pid=1008ElevatorTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32135 阅读全文
posted @ 2013-04-28 18:51 Geekers 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Long Long、__int64使用总结前言: 在16位环境下,int/unsigned int 占16位,long/unsigned long占32位 在32位环境下,int占32位,unsigned int占16位,long/unsigned long占32位何时需要使用: long 和 int 范围是[-2^31,2^31),即-2147483648~2147483647,而unsigned范围是[0,2^32),即0~4294967295,所以常规的32位整数只能够处理40亿左右,当遇到比40亿大的多的数就要用到64位。64位使用范围: 不同的编译器对64位整数的扩展有所不同... 阅读全文
posted @ 2013-04-28 13:36 Geekers 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 今天早上起来写1004,看了题目知道是统计字符串的,没有什么难度,,意味写一遍就可以AC了。结果写出来怎么都AC不了。。。后来上完课回来,想了想,,才发现是flag没有清零,,又犯了这种低级错误。。Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 54265Accepted Submission(s): 19616Problem DescriptionContest time again! How exci 阅读全文
posted @ 2013-04-28 12:42 Geekers 阅读(221) 评论(0) 推荐(0) 编辑