It currently supports only github.com/lorenzotinfena/goji
library
- Codeforces
- LeetCode
For each problem:
- You can create and open a codespace on this repo or if you want to run it locally: open the folder in vscode and using remote container extension, select reopen in container
- Install all tools suggested by vscode
- Copy paste an example testcase in
input.txt
- Code and debug in
solution.go
P.s. Use io for I/O operations - Run
Aggregate and copy for {platform}
command and paste the self-contained code on your platform.
If you want to solve multiple problems simultanously (like in contests) you can just backup your multiple solution.go
somewhere.
All the code (main package + non standard libraries imported (testing files are excluded)):
- Should have all the exported and unexported names different
- In the same file: literal strings or characters cannot contain aliases of non standard libraries
- Should be formatted with gofmt
- Shouldn't import packages with a local path
- Shouldn't import standard libraries with the dot '.'
- Between any first line of a function/method and the first previous empty line or the first line there must be either nothing either the comment related to that function/method