This is a database for an International Capture The Flag Contest.
The Team consists of the following members :-
- Kushagra Kharbanda
- Rudransh Pratap Singh
- Nukit Tailor
Link to video demonstration of the program
- Clone the repository
- Run the following command to install the following dependencies
pip install -r requirements.txt
- Run
python KuRuNu.py
to run the program
We have implemented the following functional requirements :
- Insert Hacker : Inserts Hacker into HACKER table with Hacker_Id, First_Name, Last_Name, Age, Email-ID, as input and asks whether the user is a problem setter or not.
- Insert Team : Inserts Team into TEAM table with Team ID, and Team Name as input
- Remove Hacker : Removes a Hacker with given Hacker_ID from the HACKER table
- Update Team : Updates the Team Name of a team with Team_ID as input.
- Update Contest : Updates Contest Details in the CONTEST table, such as Start_Date, Duration, and Contest Rating
- Update Hacker : Updates Hacker Details in the HACKER table, given the Hacker_ID
- Calculate Average Time for a problem : Calculate Average Time required to solve a particular problem, inputs are Contest_ID
- List All Teams : Lists all the teams which are participating
- List All Hackers above the age of 18 : Lists all Hackers who are above the age of 18 ( >=18 )
- Print Least Incorrect : Displays the team with lowest incorrect submission to a given problem, inputs are Contest_ID and Prob_No
- First Solved : Takes input as Contest_ID, and prints the time of first "correct" submission of each problem in that Contest
- Search For a Hacker : Searches for Hacker when given Hacker Name (First Name + Last Name)
- Search For a Team : Searches for Team Name when given Team_No
- List all Hackers who have solved at least 1 problem : Prints the Hacker_ID of all participants who have solved at least 1 Problem