摘要:
class Solution { public: double Power(double base, int e) { typedef long long LL; bool flag=false; if(e<0) flag=true; double res=1;//存储base的2的倍数次幂 //计 阅读全文
posted @ 2023-03-20 10:16
穿过雾的阴霾
阅读(24)
评论(0)
推荐(0)
摘要:
class Solution { public: vector<string> res; void dfs(int l,int r,int n,string str) { if(r==n&&l==n)//如果左右括号都用完了,说明找到了一个答案 { res.push_back(str); retur 阅读全文
posted @ 2023-03-20 09:43
穿过雾的阴霾
阅读(9)
评论(0)
推荐(0)