Testing cpp code locally for debugging purpose.
The test
will run on your computer locally without aksing leetcode.com.
test
+--local
to run local test.
NOTE: not fully support all the questions!
- need install
g++
with c++11 support.
$ leetcode test 001.two-sum.cpp --local
Input data:
[3,2,4]
6
Testing locally ...
[1,2]