摘要:isContinuous 参考 1. opencv_isContinuous; 完
阅读全文
摘要:code /* Copyright (c) 2004, Lode Vandevenne All rights reserved. */ #include <cmath> #include <string> #include <vector> #include <iostream> #include
阅读全文
摘要:problem 1021. Remove Outermost Parentheses 参考 1. Leetcode_easy_1021. Remove Outermost Parentheses; 完
阅读全文
摘要:problem 1022. Sum of Root To Leaf Binary Numbers 参考 1. Leetcode_easy_1022. Sum of Root To Leaf Binary Numbers; 完
阅读全文
摘要:problem 1025. Divisor Game 参考 1. Leetcode_easy_1025. Divisor Game; 完
阅读全文
摘要:problem 1029. Two City Scheduling 参考 1. Leetcode_easy_1029. Two City Scheduling; 完
阅读全文
摘要:problem 1030. Matrix Cells in Distance Order 参考 1. Leetcode_easy_1030. Matrix Cells in Distance Order; 完
阅读全文
摘要:problem 1033. Moving Stones Until Consecutive 参考 1. Leetcode_easy_1033. Moving Stones Until Consecutive; 完
阅读全文
摘要:problem 1037. Valid Boomerang 参考 1. Leetcode_easy_1037. Valid Boomerang; 完
阅读全文
摘要:problem 1042. Flower Planting With No Adjacent 参考 1. Leetcode_easy_1042. Flower Planting With No Adjacent; 完
阅读全文
摘要:problem 1046. Last Stone Weight 参考 1. Leetcode_easy_1046. Last Stone Weight; 完
阅读全文
摘要:problem 1047. Remove All Adjacent Duplicates In String 参考 1. Leetcode_easy_1047. Remove All Adjacent Duplicates In String; 完
阅读全文
摘要:problem 1051. Height Checker solution 参考 1. Leetcode_easy_1051. Height Checker; 完
阅读全文
摘要:problem 1071. Greatest Common Divisor of Strings solution 参考 1. Leetcode_easy_1071. Greatest Common Divisor of Strings; 完
阅读全文
摘要:problem 1154. Day of the Year solution 参考 1. Leetcode_easy_1154. Day of the Year; 完
阅读全文
摘要:problem 1170. Compare Strings by Frequency of the Smallest Character solution1: 双重循环,超时; solution2: 哈希表; 参考 1. Leetcode_easy_1170. Compare Strings by
阅读全文
摘要:problem 1160. Find Words That Can Be Formed by Characters solution 参考 1. Leetcode_easy_1160. Find Words That Can Be Formed by Characters; 完
阅读全文
摘要:前言 运行mxnet程序的时候出现这个warning信息,但是不影响整个程序的运行,不过宝宝喜欢将warning信息尽量也clear,强迫症嘛?!哈哈哈哈 问题描述 解决方法 注意,shell中的等号两端没有空格哈。。。 参考 1. mxnet_gluon_discuss; 2. github_is
阅读全文
摘要:前言 安装好CUDA、CUDNN、NVIDIA driver之后,使用mxnet框架的时候出现该错误,本文记录该问题的解决方法。 环境 ubuntu 16.04 MxNet Cuda9.0 Nvidia driver 384 error 解决方法 开始的时候以为是driver没有安装好,但是使用nv
阅读全文
摘要:查看TensorRT版本: echo 参考 1. 查看jetpack的版本; 完
阅读全文
摘要:problem 997. Find the Town Judge solution: 参考 1. Leetcode_easy_997. Find the Town Judge; 完
阅读全文
摘要:problem 994. Rotting Oranges 参考 1. Leetcode_easy_994. Rotting Oranges; 完
阅读全文
摘要:problem 993. Cousins in Binary Tree 参考 1. Leetcode_easy_993. Cousins in Binary Tree; 完
阅读全文
摘要:problem 989. Add to Array-Form of Integer 参考 1. Leetcode_easy_989. Add to Array-Form of Integer; 完
阅读全文
摘要:problem 985. Sum of Even Numbers After Queries 参考 1. Leetcode_easy_985. Sum of Even Numbers After Queries; 完
阅读全文
摘要:problem 977. Squares of a Sorted Array solution: 参考1. Leetcode_easy_977. Squares of a Sorted Array; 完
阅读全文
摘要:problem 976. Largest Perimeter Triangle solution: 参考 1. Leetcode_easy_976. Largest Perimeter Triangle; 完
阅读全文
摘要:problem 970. Powerful Integers solution: 参考 1. Leetcode_easy_970. Powerful Integers; 完
阅读全文
摘要:problem 965. Univalued Binary Tree 参考 1. Leetcode_easy_965. Univalued Binary Tree; 完
阅读全文
摘要:参考 1. Extending TensorRT With Custom Layers; 2. TensorRT Samples: MNIST(Plugin, add a custom layer); 完
阅读全文
摘要:前言 今天无意中看到这个标题,因为好奇就点进去了,不错,又学习啦。。。 具体内容: 1. do...while(0)消除goto语句; 2 宏定义中的do...while(0); 参考 1. 原链接_do...while(0)的妙用; 2. 程序员每天每周每月每年该做的事; 完
阅读全文
摘要:前言 coding最好要形成一定的编程风格,一般常用的开源风格有google code style,可以使用cpplint工具检查是否符合该编程风格。 Cpplint是一个Python脚本,作为一款开源免费的代码静态检测工具,Google也使用它作为自己的C++代码检测工具,也就是说,只要你想代码遵
阅读全文