上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: link class Solution { public: int fa[10001]; vector<bool> areConnected(int n, int threshold, vector<vector<int>>& queries) { for(int i=1;i<=n;i++) fa[ 阅读全文
posted @ 2020-10-18 17:52 feibilun 阅读(98) 评论(0) 推荐(0) 编辑
摘要: link select * from patients where conditions REGEXP BINARY '^DIAB1|\\sDIAB1' select * from patients where conditions like BINARY 'DIAB1%' or condition 阅读全文
posted @ 2020-10-01 09:56 feibilun 阅读(100) 评论(0) 推荐(0) 编辑
摘要: link select * from users where mail regexp '^[a-zA-Z][a-zA-Z0-9_/\\.\\-]*(@leetcode.com)' 阅读全文
posted @ 2020-09-23 10:16 feibilun 阅读(172) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/Za25hA/ 阅读全文
posted @ 2020-09-20 15:13 feibilun 阅读(97) 评论(0) 推荐(0) 编辑
摘要: link select name as country from ( select name,sum(duration)/count(duration) as avg from ( select t.name,t.id, c1.caller_id, c1.callee_id, c1.duration 阅读全文
posted @ 2020-09-18 09:39 feibilun 阅读(112) 评论(0) 推荐(0) 编辑
摘要: link select sell_date, count(distinct product) as num_sold, group_concat(distinct product order by product asc separator ',') as products from activit 阅读全文
posted @ 2020-09-17 11:04 feibilun 阅读(144) 评论(0) 推荐(0) 编辑
摘要: link select i.item_category as category, sum(if(date_format(order_date,'%W')='Monday',quantity,0)) as 'Monday', sum(if(date_format(order_date,'%W')='T 阅读全文
posted @ 2020-09-16 09:21 feibilun 阅读(110) 评论(0) 推荐(0) 编辑
摘要: link class Solution { public: #define LL long long unordered_map<int,LL> memo; int busRapidTransit(int target, int inc, int dec, vector<int>& jump, ve 阅读全文
posted @ 2020-09-15 21:07 feibilun 阅读(109) 评论(0) 推荐(0) 编辑
摘要: link class Solution { public: bool isTransformable(string s, string t) { vector<deque<int>> pos(10); for(int i=0;i<s.size();i++){ pos[s[i]-'0'].push_b 阅读全文
posted @ 2020-09-15 08:23 feibilun 阅读(71) 评论(0) 推荐(0) 编辑
摘要: link class Solution { public: #define LL long long const int mod=1E9+7; vector<vector<LL>> table; int numOfWays(vector<int>& nums) { int n=nums.size() 阅读全文
posted @ 2020-08-30 17:10 feibilun 阅读(266) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页