摘要: One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he explored taki 阅读全文
posted @ 2020-04-28 16:58 XXXSANS 阅读(100) 评论(0) 推荐(0)
摘要: 在算法竞赛中,我们常常需要用到一个“无穷大”的值,对于我来说,大多数时间我会根据具体问题取一个99999999之类的数(显得很不专业啊!) 在网上看别人代码的时候,经常会看到他们把INF设为0x7fffffff,奇怪为什么设一个这么奇怪的十六进制数,一查才知道,因为这是32-bit int的最大值。 阅读全文
posted @ 2020-04-28 16:20 XXXSANS 阅读(297) 评论(0) 推荐(0)
摘要: After coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to visit n cities(he insists on seeing al 阅读全文
posted @ 2020-04-28 16:17 XXXSANS 阅读(168) 评论(0) 推荐(0)