Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 655 Bytes

File metadata and controls

27 lines (18 loc) · 655 Bytes

Codespaces

The dev container includes C++, Node.js, and the Microsoft C/C++ extension.

1. Open Codespaces

  1. Open the repository on GitHub.
  2. Click Code.
  3. Open the Codespaces tab.
  4. Click Create codespace on master.

2. Run A Problem

  1. Open a .cpp or .js problem file.
  2. Put sample input in workspace/input.txt.
  3. Press Cmd + Shift + B on macOS or Ctrl + Shift + B on Windows/Linux.
  4. Check workspace/output.txt.

Do not use Cmd + R or Ctrl + R in the browser. Those usually reload the page.

3. Update Codespaces

git pull

If Codespaces asks to rebuild after .devcontainer changes, rebuild it.