Skip to content

LiamBrem/cgi-coding-competition-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CGI Coding Competition

CSC + CGI

CGI: Operation Trusted Outcomes 🔴

You are a newly recruited CGI Partner on your first week inside the Global Digital Response Team.

CGI operates across 400+ locations worldwide, delivering insight-driven IT solutions. But today, something unusual is happening.

A coordinated cyber event, codenamed “Shadow ROI,” is attempting to disrupt CGI client systems across multiple industries. Financial services, healthcare, logistics, and energy sectors are at risk.

You're tasked with getting to the bottom of this issue.

“To protect our clients, you must demonstrate mastery of data, logic, and resilience. Each system you stabilize unlocks the next.”

By solving each task, you'll restore part of CGI’s global digital infrastructure.

Are you up for the challenge?


Getting Started

Running in Codespaces (RECOMMENED):

Click the green codespace button in the top right corner and create a new codespace.

Running Locally:

if you don't have docker install it here

Make sure docker is running

Clone the repo:

git clone https://github.com/LiamBrem/cgi-coding-competition-public

CD into the folder:

cd cgi-coding-competition-public

Now you're ready to START CODING!

How does it work 🤨

  • Each question has it's own folder (as you can see if you open up the 'questions' folder).
  • And there's already some files for you to write your code in!
  • Open up either the Solution.java or solution.py <- this is where your code goes.
  • There's also a description.md that explains each problem...because you have to know what to do, obviously.
  • When you think your solution is right, you're going to run one of the commands below vvv
  • If you pass, you'll get a super special secretive code which is what you'll put in the google form and is how you'll be scored

Running your code

CODESPACES/Linux/macOS:

./run-grader.sh <question_number> <language>

Windows (Command Prompt):

run-grader.bat <question_number> <language>

Windows (PowerShell):

.\run-grader.ps1 <question_number> <language>

Examples:

# Test question 1 with Python
./run-grader.sh 1 python

# Test question 2 with Java
./run-grader.sh 2 java

# Test question 5 with Python
./run-grader.sh 5 python

Example Output

Question 1 Results:
Test 1: PASS
Test 2: PASS
Test 3: FAIL (expected 42, got 41)
Score: 8/10
Code: apbdjhnasopiufh

Fix your code and run again until all tests pass!

Rules

  • NO AI
  • If you use AI to assist in any way, you'll be immediately disqualified. 👀
  • You are allowed to talk to other people during the competition. In fact, we encourage it! However, rememeber that you are competing against them too, so maybe think twice before giving them you're answers.

Good Luck!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors