SOI CodeWith SOI Code, you can easily get started solving tasks in C++ for the Swiss Olympiad in Informatics. After installing the extension, click the SOI logo which will appear on the left. You will be prompted to open a folder for storing your code in. It's best to create a new folder for this. If VS Code prompts you, select "Yes, I trust the authors". Now you can create tasks. Every task has a .cpp file, which contains your code, and a .soitask file, which contains samples. Click "Run solution on all samples" to compile your code, run it with the sample inputs, and compare the program output against the expected output. Install a compilerTo be able to use SOI Code, you need a C++ compiler. Windows: A compiler is already included with SOI Code. macOS: Open a terminal.
Enter Ubuntu, Debian: Open a terminal.
Enter Fedora: Open a terminal.
Enter You can open a terminal in VS Code with Terminal > New Terminal. Install the C/C++ extensionTo enable debugging and IntelliSense features, install the C/C++ extension. |