Editing Files
Go to /p/<problem-id>/manage to see all files attached to a problem. The sidebar on the left lists them.
Opening a file
Click a file in the sidebar to open it in the editor (/p/<problem-id>/<file-id>/edit).
Saving a file
Press Ctrl+S or click the save icon (top right). The icon dims when there are unsaved changes. Navigating away with unsaved changes shows a browser warning.
Markdown preview
.md files get a live preview panel on the left side of the editor. It updates as you type.
Adding a file
Click Add File in the sidebar. Choose Add Text File to create a blank file, or drag and drop (or browse) to upload an existing one.
The new file name defaults to file.txt — rename it immediately after creating.
Renaming a file
Right-click a file in the sidebar → rename. Edit the name, then Enter to confirm or Escape to cancel. In the editor, F2 renames the currently open file.
Deleting a file
Right-click a file in the sidebar → delete. The file is removed immediately with no confirmation prompt.
Warning
Deleting _expected_outputs.json (or the _solution + _generate_inputs pair) means the problem can no longer be tested until you add tests back. See the file contract.