MIT License
Copyright (c) 2025 INHA_OSAP_003_6
This project is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.
File : README.md
Author: INHA_OSAP_003_6
Date : 2025-11-26
- WSL에서 프로젝트 폴더를 open합니다.
- 터미널에 아래 명령어를 입력하여 컴파일합니다.
g++ -O2 -I. src/main.cc src/avlset_basic.cc src/avlset_search.cc src/avlset_update.cc -o main.exe - 돔저지에 첨부된 input파일(ex. sample-Advance.1.in) 을 프로젝트 폴더로 옮깁니다.
- 터미널에 ./main.exe < input파일명.in > output1.txt 를 입력하여 input 파일을 넣고, 결과를 ouput1.txt파일로 추출합니다. (결과를 편하게 보기 위함)
- ctrl + shift + p 누르기
- C/C++: Edit Configurations (JSON) 검색 후 선택 => .vscode/c_cpp_properties.json 파일 열림
- 다음과 같이 설정 변경 (includePath 부분 "${workspaceFolder}" 추가)
{ "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "${workspaceFolder}" ], "defines": [], "compilerPath": "/usr/bin/gcc", "cStandard": "c17", "cppStandard": "gnu++17", "intelliSenseMode": "linux-gcc-x64" } ], "version": 4 }