摘要: class Solution {public: bool isScramble(string s1, string s2) { int len = s1.length(); if (len == 1 && s1[0] == s2[0]) return true; ... 阅读全文
posted @ 2014-05-15 15:32 卖程序的小歪 阅读(166) 评论(0) 推荐(0) 编辑
摘要: class Solution {public: bool search(int A[], int n, int target) { if (n A[mid]) { right = mid; sep = A[mid]; ... 阅读全文
posted @ 2014-05-15 00:24 卖程序的小歪 阅读(159) 评论(0) 推荐(0) 编辑