摘要:
比如我今天想写一个二分查找: 首先,很容易的写下 int bSearch(int begin, int end, int e) 然后,很自然的定义 int mid, left = begin, right = end; 接下来怎么写呢?while(left > 1; 用位运算能节省一些时间... 阅读全文
摘要:
传送门:http://oj.cnuschool.org.cn/oj/home/problem.htm?problemID=302The Flash难度级别:B; 运行时间限制:1000ms; 运行空间限制:51200KB; 代码长度限制:2000000B试题描述"My name is Barry A... 阅读全文