09 2016 档案
摘要:1. app store下载xcode 2. OpenCV 官网下载OpenCV for linux/mac 3.安装homebrew 4.命令行使用brew install cmake 安装cmake 5.cd 到opencv解压后的文件夹,在命令行依次执行以下命令: mkdir build cd
阅读全文
摘要:1.简单的算数操作和向量运算 命令行启动 R,退出 q(). 可以在退出时保存项目进度,同目录下启动R时可以恢复进度. 获取函数帮助:help(solve) 或者 ?solve ,help.start() 启动html帮助 对于使用某个命令的例子,可以用example(topic)查看 R 大小写敏
阅读全文
摘要:需要包括库文件 #include <fstream> (1) ofstream:写操作,输出文件类; (2) ifstream:读操作,输入文件类; (3) fstream:可同时读写的文件类。 一般使用ofstream 和ifstream更加清楚明了 ifstream fin("input.txt
阅读全文
摘要:Given an array of integers, every element appears twice except for one. Find that single one. 这道题看似很简单,但是需要线性时间和不消耗额外空间,这里需要用到c++的“亦或”操作,因为 相同数数字 ^ 操作
阅读全文
摘要:You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl
阅读全文

浙公网安备 33010602011771号