cpp.run

December 20, 2017 ยท View on GitHub

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!

Requirement

  • need install g++ with c++11 support.

Usage

$ leetcode test 001.two-sum.cpp --local

Input data:
[3,2,4]
6

Testing locally ...

[1,2]