Skip to content

Commit c98f433

Browse files
committed
bug fix for issue #2
1 parent 9b261ba commit c98f433

File tree

2 files changed

+6
-48
lines changed

2 files changed

+6
-48
lines changed

.vscode/tasks.json

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
11
{
22
"version": "2.0.0",
33
"tasks": [
4-
{
5-
"label": "competitiveNew",
6-
"type": "shell",
7-
"command": "/bin/bash scripts/new.sh",
8-
"presentation": {
9-
"reveal": "always",
10-
"focus": true,
11-
"panel": "shared"
12-
}
13-
},
14-
// {
15-
// "label": "competitiveCompile",
16-
// "type": "shell",
17-
// "command": "/bin/bash scripts/compile.sh ${fileDirname}",
18-
// "presentation": {
19-
// "reveal": "always",
20-
// "focus": true,
21-
// "panel": "shared"
22-
// }
23-
// },
244
{ // テスト実行(online-judge)
255
"label": "competitiveTestSample",
266
"type": "shell",
@@ -31,16 +11,6 @@
3111
"panel": "shared"
3212
}
3313
},
34-
// {
35-
// "label": "competitiveSubmit",
36-
// "type": "shell",
37-
// "command": "/bin/bash scripts/submit.sh ${fileDirname}",
38-
// "presentation": {
39-
// "reveal": "always",
40-
// "focus": true,
41-
// "panel": "shared"
42-
// }
43-
// },
4414
{ // コンパイル (C++17)
4515
"type": "shell",
4616
"label": "build kyopro C++17",
@@ -51,7 +21,6 @@
5121
"-std=gnu++17",
5222
"-march=native",
5323
"-mtune=native",
54-
// "main.cpp",
5524
"${relativeFile}"
5625
],
5726
"group": {

README.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,16 @@
55
## Requirements
66
- Docker
77
- VS Code
8+
- extensions: Remote Contaiers
89

910
## How to install
10-
- Dockerfileからイメージをビルド
11-
`docker-compose build`
11+
1. Remote Containersを実行
12+
`Remote-Containers: Reopen in Container`
1213

13-
- Dockerコンテナを作成
14-
`docker-compose up -d`
15-
16-
- init.shを実行
17-
`docker-compose exec atcoder bash`
14+
2. init.shを実行
1815
`/bin/bash /root/init.sh`
1916

2017
## How to use
21-
- new.sh ディレクトリの作成
22-
- compile.sh main.cppのコンパイル
23-
- test.sh online-judge toolsでテスト
24-
- submit.sh atcoder-cliからテスト
25-
26-
## Other
27-
- tasks.jsonをvscodeでキーバインドしておくと上記スクリプトがショートカットから実行出来て便利です。
28-
29-
## Shortcuts(個別に設定が必要)
3018
- コンパイル:Ctrl + Shift + B
31-
- テスト:Ctrl + T
19+
- テスト:Ctrl + T
20+
テストのショートカットはkeybindings.jsonで設定が必要

0 commit comments

Comments
 (0)