The dev container includes C++, Node.js, and the Microsoft C/C++ extension.
- Open the repository on GitHub.
- Click
Code. - Open the
Codespacestab. - Click
Create codespace on master.
- Open a
.cppor.jsproblem file. - Put sample input in
workspace/input.txt. - Press
Cmd + Shift + Bon macOS orCtrl + Shift + Bon Windows/Linux. - Check
workspace/output.txt.
Do not use Cmd + R or Ctrl + R in the browser. Those usually reload the page.
git pullIf Codespaces asks to rebuild after .devcontainer changes, rebuild it.