摘要: 2020.11.21日,雪 没有任何头绪,脑子里一团乱粥,实在太难了。 测试要求车载、脚载两种模式下米级左右的精度,要求实时输出结果,这难度简直比登天还难。 1.零偏问题。惯导用的ICM,这零偏多么辣鸡谁用谁知道。 2.惯导杆臂和安装角问题,每次都不一样,怎么标定,怎么实时校准。 3.RTK信号问题 阅读全文
posted @ 2020-11-21 12:28 阿破 阅读(70) 评论(0) 推荐(0) 编辑
摘要: class Solution { public: int get_buckets(vector<int> &nums,int volume){ int buckets = 1; int ans = 0; for (auto num:nums){ ans += num; if(ans > volume 阅读全文
posted @ 2020-11-11 16:36 阿破 阅读(94) 评论(0) 推荐(0) 编辑
摘要: class Solution { int f[5005]; public: string longestPalindrome(string s) { string t="!#"; for(auto c:s){ t+=c; t+='#'; } t+='$'; int rMax=0,iMax=0,res 阅读全文
posted @ 2020-10-27 13:45 阿破 阅读(57) 评论(0) 推荐(0) 编辑
摘要: class Solution { public: int longestPalindromeSubseq(string s) { int n=s.size(); int dp[n][n]; memset(dp,0,sizeof(dp)); for(int i=0; i<n;i++)dp[i][i] 阅读全文
posted @ 2020-10-17 22:14 阿破 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public static String Manacher(String s) { if (s.length() < 2) { return s; } // 第一步:预处理,将原字符串转换为新字符串 String t = "$"; for (int i=0; i<s.length(); i++) { 阅读全文
posted @ 2020-10-16 20:24 阿破 阅读(84) 评论(0) 推荐(0) 编辑
摘要: class Solution { int dx[8]={0, 0, -1,1,1, 1,-1,-1}; int dy[8]={1, -1, 0,0,1,-1,-1, 1}; public: void dfs(vector<vector<char>>& board, int i,int j){ if( 阅读全文
posted @ 2020-08-21 10:05 阿破 阅读(57) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), r 阅读全文
posted @ 2020-07-30 20:56 阿破 阅读(117) 评论(0) 推荐(0) 编辑
摘要: class Solution { int f[505][505]; public: int maxDotProduct(vector<int>& nums1, vector<int>& nums2) { int m=nums1.size(),n=nums2.size(); int ans=-1e9; 阅读全文
posted @ 2020-07-30 12:45 阿破 阅读(116) 评论(0) 推荐(0) 编辑
摘要: class Solution { public: string removeKdigits(string num, int k) { int n=num.size(); string ans; int p=0; int c=n-k;//挑c个 for(int i=0;i<c;i++){ string 阅读全文
posted @ 2020-07-29 21:43 阿破 阅读(83) 评论(0) 推荐(0) 编辑
摘要: class Solution { public: vector<vector<int>> groupThePeople(vector<int>& gr) { vector<vector<int>>ans,ret; ans.resize(gr.size()+1); ans[gr[0]].push_ba 阅读全文
posted @ 2020-07-29 18:42 阿破 阅读(91) 评论(0) 推荐(0) 编辑