摘要: 问题描述:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costs... 阅读全文
posted @ 2014-06-10 19:18 Marrybe 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution { 2 public: 3 int singleNumber(int A[], int n) { 4 int bits = sizeof(int)*8; 5 int result=0; 6 for(int i... 阅读全文
posted @ 2014-06-10 11:48 Marrybe 阅读(204) 评论(0) 推荐(0) 编辑