michimani / atcoder

MIT License
0 stars 0 forks source link

atcoder

michimani

Solutions for AtCoder problems.

Links

Using online judge tools

  1. install online-judge-tools

    pip3 install online-judge-tools
  2. create .vscode/tasks.json

    {
      "tasks": [
        {
          "type": "shell",
          "label": "test_atcoder_sample",
          "command": "${workspaceFolder}/onlinejudge/cpp-test.sh",
          "args": [
            "${relativeFileDirname}",
            "${fileBasenameNoExtension}",
            "${file}"
          ],
          "group": {
            "kind": "test",
            "isDefault": true
          }
        },
        {
          "type": "shell",
          "label": "submit_to_atcoder",
          "command": "${workspaceFolder}/onlinejudge/cpp-submit.sh",
          "args": [
            "${relativeFileDirname}",
            "${fileBasenameNoExtension}",
            "${file}"
          ],
          "group": {
            "kind": "build",
            "isDefault": true
          }
        }
      ],
      "version": "2.0.0"
    }

Create new solutions

example: create solutions for A,B,C of ABC 123

new.sh abc 123 a,b,c

License

MIT

Author

michimani210