摘要:
class Solution { public: int maxProduct(vector<int>& nums) { int len = nums.size(), res = nums[0]; int prevMin = nums[0], prevMax = nums[0]; int temp1 阅读全文
摘要:
语法 replace()方法语法: str.replace(old chr, new chr, max) new chr:需要替换的字符 max:字符串替换次数不超过 max 次,如不填写的话则将str中所有old字符替换为new字符 参考链接:https://www.cnblogs.com/zho 阅读全文