AtcoderでPython使って問題とくときにした準備作業のメモ書き。
環境
MacOS
Visual Studio Codeの設定
VisualStudioCodeの拡張機能【Coder Runner】の追加
コマンド「⌘ + ,」で設定を開き、以下2つを設定
Python3の実行コマンドに変換
settings.json
"code-runner.executorMap": {
"python": "python3 -u",
}
右上の矢印でPythonのプログラムを実行する
(設定しないと入力ができない)
ショートカットキーを覚える
Option + Control + N が実行コマンド
▼ 探し方
Commnad + Shift + P でコマンドパレット表示
Runと入力すると、CodeRunnderのコード実行コマンドが表示される。