上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 54 下一页

2020年12月2日

摘要: 前言 git add git checkout git使用过程 # git lfs installsudo apt-get install git-lfs# install git lfs configurationgit lfs install# usagegit clone URL git cl 阅读全文
posted @ 2020-12-02 07:46 鹅要长大 阅读(664) 评论(0) 推荐(0)
摘要: problem 1640. Check Array Formation Through Concatenation solution#1: code solution#2: code solution#3: code 参考 1. leetcode_essy_sort_1640. Check Arra 阅读全文
posted @ 2020-12-02 07:45 鹅要长大 阅读(53) 评论(0) 推荐(0)
摘要: 问题描述: 最近从git上下载DL模型和源码,看到模型只有几十k,就准备先clone模型文件再clone源码,没想到耽误了一些功夫,clone之后只有.git,但没有看到模型文件。 分析: 首先,一定要有权限,其次,一定要配置好git,特别是SSH KEY; 一般情况下,只需要clone就可以了,但 阅读全文
posted @ 2020-12-02 07:42 鹅要长大 阅读(4319) 评论(0) 推荐(0)
摘要: problem Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repos 阅读全文
posted @ 2020-12-02 07:36 鹅要长大 阅读(570) 评论(0) 推荐(0)
摘要: problem 392. Is Subsequence solution#1: two pointers,快慢指针; code solution#2: Follow Up中描述有很长的字符串,如何优化; 使用 uppper_bound() 来二分查找第一个大于 pre 的位置; code 参考 1. 阅读全文
posted @ 2020-12-02 07:31 鹅要长大 阅读(57) 评论(0) 推荐(0)
摘要: problem 1614. Maximum Nesting Depth of the Parentheses 理解题意;题目描述的比较繁琐,重在理解核心思想; solution#1: code 参考 1. leetcode_easy_string_1614. Maximum Nesting Dept 阅读全文
posted @ 2020-12-02 07:17 鹅要长大 阅读(59) 评论(0) 推荐(0)
摘要: 前言 aarch64-linux-gnu-nm freespaceaarch64-linux-nm freespaceaarch64-linux-gnu-nm freespaceaarch64-linux-gnu-objdump -x -s -d freespace addr2line 0x7f92 阅读全文
posted @ 2020-12-02 07:13 鹅要长大 阅读(167) 评论(0) 推荐(0)
摘要: 前言 Linux ps (英文全拼:process status)命令用于显示当前进程的状态,类似于 windows 的任务管理器。 参考 1. 10个重要的Linux ps命令实战; 完 阅读全文
posted @ 2020-12-02 07:08 鹅要长大 阅读(160) 评论(0) 推荐(0)
摘要: 前言 code float* lanemap = new float[output_h * output_w]; float* fsmap = new float[output_h * output_w]; cv::Mat showimg; std::vector<PointProp> border 阅读全文
posted @ 2020-12-02 07:02 鹅要长大 阅读(230) 评论(0) 推荐(0)
摘要: problem 1005. Maximize Sum Of Array After K Negations 题意 solution#1: code solution#2: 先循环k次,每次把最小值前加负号,然后遍历求和; code solution#3: 翻转,应尽可能的翻转负数,同时翻转两次是可以 阅读全文
posted @ 2020-12-02 06:56 鹅要长大 阅读(60) 评论(0) 推荐(0)
摘要: problem 1528. Shuffle String solution#1: code 参考 1. leetcode_easy_sort_1528. Shuffle String; 完 阅读全文
posted @ 2020-12-02 06:55 鹅要长大 阅读(39) 评论(0) 推荐(0)
摘要: problem 1518. Water Bottles 题意: solution#1:迭代; code solution#2: 迭代; code solution#3: 数学;oneline; code 参考 1. leetcode_easy_greedy_1518. Water Bottles; 阅读全文
posted @ 2020-12-02 06:52 鹅要长大 阅读(57) 评论(0) 推荐(0)
摘要: problem 1403. Minimum Subsequence in Non-Increasing Order 题意 重在理解题意,找出这样的最小子序列,肯定从数组中最大数开始一个一个提取,直到子序列的和大于剩余在原数组的元素之和。关键在于怎么提取数组中的最大数。可以排序,或者使用数值的数量。也 阅读全文
posted @ 2020-12-02 06:50 鹅要长大 阅读(63) 评论(0) 推荐(0)
摘要: problem 1030. Matrix Cells in Distance Order solution#1: 排序; code solution#2: code 参考 1. leetcode_easy_sort_1030. Matrix Cells in Distance Order; 2. s 阅读全文
posted @ 2020-12-02 06:45 鹅要长大 阅读(50) 评论(0) 推荐(0)
摘要: problem 1356. Sort Integers by The Number of 1 Bits solution#1: code: 注意,先按照数字1的数目排序,若相等,则按照整数的大小排序; 参考 1. leetcode_easy_sort_1356. Sort Integers by T 阅读全文
posted @ 2020-12-02 06:43 鹅要长大 阅读(71) 评论(0) 推荐(0)

2020年11月5日

摘要: problem 883. Projection Area of 3D Shapes solution#1: code 注意求解各行的最大值之和,以及各列的最大值之和; 参考 1. leetcode_easy_math_883. Projection Area of 3D Shapes; 2. Gra 阅读全文
posted @ 2020-11-05 10:50 鹅要长大 阅读(67) 评论(0) 推荐(0)

2020年10月29日

摘要: leetcode_easy_array problem 1475. Final Prices With a Special Discount in a Shop solution #1: 使用新数组更新数据; code solution #2: 直接在原数组更新数据; code: 注意: 1. 满足 阅读全文
posted @ 2020-10-29 22:50 鹅要长大 阅读(65) 评论(0) 推荐(0)
摘要: leetcode_easy_array problem 1486. XOR Operation in an Array solution #1: code: 参考 1. leetcode_1486. XOR Operation in an Array; 完 阅读全文
posted @ 2020-10-29 22:41 鹅要长大 阅读(71) 评论(0) 推荐(0)

2020年10月28日

摘要: leetcode_easy_array 1491. Average Salary Excluding the Minimum and Maximum Salary solution #1: code solution #2: code 注意: 1. 去除最大最小值之后的平均值; 2. 数组元素是un 阅读全文
posted @ 2020-10-28 08:13 鹅要长大 阅读(121) 评论(0) 推荐(0)
摘要: leetcode_easy_array problem 1480. Running Sum of 1d Array solution #1: code: 参考 1. leetcode_1480. Running Sum of 1d Array; 完 阅读全文
posted @ 2020-10-28 08:11 鹅要长大 阅读(81) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 54 下一页

导航