摘要:
3SumGiven an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:El... 阅读全文
摘要:
int转string(注:itoa不是标准函数,OJ平台可能不接受)int n = 10;char temp[32];string str; sprintf(temp, "%d", n);str = temp;orstring str = to_string(n);注意:to_string(int ... 阅读全文