参考:
http://blog.csdn.net/xinghalo/article/details/52433914
报错参考;
http://blog.163.com/artsn@126/blog/static/3653328120110200121481/
http://www.iteye.com/problems/33172