Skip to content

[WIP] Add cross-platform C++ competitive programming repository files#1

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/create-competitive-programming-repo
Closed

[WIP] Add cross-platform C++ competitive programming repository files#1
Copilot wants to merge 1 commit intomainfrom
copilot/create-competitive-programming-repo

Conversation

Copy link

Copilot AI commented Feb 1, 2026

  • Create directory structure (src/, templates/, scripts/, include/, tests/)
  • Create src/template.cpp with fast I/O and competitive programming macros
  • Create scripts/setup.sh for installing dependencies (g++, clang++, make, gdb, lldb)
  • Create scripts/cf command-line tool with two functions:
    • cf template NAME - creates folder/file with template and compiles
    • cf NAME [input.txt] - compiles/runs cpp with input
  • Create build.sh script for building projects
  • Create Makefile for building projects
  • Update README.md with comprehensive documentation
  • Add .gitignore to exclude build artifacts
  • Test the setup on the current environment
Original prompt

Create a cross-platform C++ competitive programming repo with src/, templates/, scripts/, include/, tests/. Add scripts/setup.sh to install g++/clang++, make, gdb/lldb, fast I/O, editors. Add scripts/cf: cf template NAME creates folder/file with template and compiles; cf NAME [input.txt] compiles/runs cpp with input. Include src/template.cpp (fast I/O + macros), build.sh/Makefile, README. Fully portable and ready-to-run.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@mbn-code mbn-code closed this Feb 1, 2026
Copilot AI requested a review from mbn-code February 1, 2026 19:30
Copilot stopped work on behalf of mbn-code due to an error February 1, 2026 19:30
@mbn-code mbn-code deleted the copilot/create-competitive-programming-repo branch February 1, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants