This repository contains my Kattis solutions. Solutions may be in multiple languages. You can check the table under solved problems to see which ones I've solved, and in which languages.
I use neovim as my editor. I run files using the same commands as listed in the old editor setup, except now manually by typing them in.
I am using vscode as my editor.
Using the Code Runner extension, I have a single hotkey that will compile/build/run many languages.
I have bound the run command to CTRL+SHIFT+B, which is vscode's default build keybind.
Related settings from settings.json:
{ "code-runner.executorMap": { // modified / using "cpp": "cd $dir && mkdir -p build && g++ $fileName -o build/$fileNameWithoutExt && $dir/build/$fileNameWithoutExt", // -> move into directory of file // -> make 'build' directory // -> compile file.cpp to build/file using g++ // -> execute ./build/file "java": "java", // -> run java /path/to/file.java; this compiles in-memory and runs the file "haskell": "runghc", // -> run runghc /path/to/file.hs; this yeets the file into the interpreter and runs it } }