fredhur's problem solving of Baekjoon Online Judge
- c++11 ~ c++17 , python3 (Two mainly used programming language when solve problem)
- Windows11, MacOS Monteray
- Compiler : MSVC, Apple clang
- Visual Studio code (IDE)
- Visual Studio 2022 (For using MSVC compiler)
- Install visual studio 2022 (higher than 2022 will be okay)
- Run developer power shell
- Type "code" in shell and then "enter" (Open visual studio code)
- Go to folder which stores source code and then type command "cl boj_xxx.cpp" in any terminal that you use
- You can see obj file and exe file is created.
- Type command "./boj_xxx.exe". Then you can see boj_xxx.exe is running
- Check result.
- Open vscode terminal. (ctrl + `) or any terminal that you use.
- Run command "g++ -std=c++17 boj_xxx.cpp"
- Run command "./a.out"
- Check result.
See this Docs
Mac OS has python3. Just type "python3 boj_xxxx.py"