摘要: Link #include <bits/stdc++.h> # define LL long using namespace std; const int mod=100000000; int M, N; int grid[12]; LL dp[12][1<<12]; LL dfs(int r, i 阅读全文
posted @ 2020-02-09 21:40 feibilun 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Link #include <bits/stdc++.h> # define LL long using namespace std; const int INF=0x7fffffff; int n; double x[16]; double y[16]; double dp[17][1<<16]; 阅读全文
posted @ 2020-02-09 20:42 feibilun 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Link Solution 0: class Solution { public: int m,n; int maxStudents(vector<vector<char>>& seats) { m=seats.size(); n=seats[0].size(); vector<vector<int 阅读全文
posted @ 2020-02-09 15:17 feibilun 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Link class Solution { public: int ladderLength(string beginWord, string endWord, vector<string>& wordList) { unordered_set<string> words; for(auto &s: 阅读全文
posted @ 2020-02-09 09:53 feibilun 阅读(163) 评论(0) 推荐(0) 编辑
摘要: link class Solution { public: vector<vector<string>> findLadders(string beginWord, string endWord, vector<string>& wordList) { vector<vector<string>> 阅读全文
posted @ 2020-02-09 09:20 feibilun 阅读(119) 评论(0) 推荐(0) 编辑