bin -将整数转换为二进制。
eg:光棍的悲哀
http://www.pythontip.com/coding/code_oj_case/13
enumerate - 枚举
np.meshgrid - 参考http://docs.scipy.org/doc/numpy/reference/generated/numpy.meshgrid.html ????没看懂
【python实现栈、队列】https://docs.python.org/2/tutorial/datastructures.html#more-on-lists
说白了就是列表的append和pop(先进后出)、leftpop(先进先出)