This plugin for the Atom editor helps you with some workflows during Codeforces contests. In order to show compilation output and to open terminal sessions inside of Atom, terminal-tab is required.
Connect to Codeforces contest. The id of a contest can be found by looking at its URL (in case of a future contest, try clicking the
1e-6are okay (you should not activate this when you have to output integers). In case multiple outputs are possible or the task is interactive, you can disable the output checking for that task.
Terminalbutton in the Atomforces pane.
The default directory structure is as follows: the source file for task A is called
A.cpp, it is located inside of the folder
A and the compiled file is called
a.out. The compilation command currently is
g++ -std=c++17 -g -Wall -Wextra -fsanitize=undefined,address -DGLIBCXX_DEBUG A.cpp. The examples for task A are inside of the directory
A/examples and are called e.g.
You can change this behavior in the settings.
Please note that this plugin is still in development. Use it on your own risk. Although I don't think there are any major bugs (of course I am using the plugin myself), I am not responsible in case anything to your disadvantage happens because of the usage of this plugin (e.g. getting worse rating when unfinished source files are being submitted).
Before participating in a rated contest, you should test whether the plugin is working for you by connecting a folder to a past Codeforces contest and trying to submit a source file.
When Atom says that
node-gyp was compiled against a wrong node version, run
node_modules/.bin/electron-rebuild -v 9.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.