Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 402 Bytes

cpp.run.md

File metadata and controls

25 lines (14 loc) · 402 Bytes

cpp.run

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]