Skip to content

Latest commit

 

History

History
80 lines (55 loc) · 2.66 KB

README.md

File metadata and controls

80 lines (55 loc) · 2.66 KB

C C++ Python Java

MCPC 2021 Solutions

This repo contains proposed solutions to the Moroccan Collegiate Programming Contest 2021.

Files structure

  • ./pratice contains solutions for the practice session.
  • ./contest contains solutions for the actual contest.
  • ./problems contains the problems set.

Progress

Problem C C++ Python Java
Practice - A ✔️ - - -
Practice - B ✔️ - - -
Practice - C - - - -
Contest - A ✔️ - - -
Contest - B - - - -
Contest - C - - - -
Contest - D - ✔️ - -
Contest - E - - - -
Contest - F - - - -
Contest - G - ✔️ - -
Contest - H - - - -
Contest - I - ✔️ - -
Contest - J - - - -
Contest - K - ✔️ - -
Contest - L - - - -

Usage/Examples

C/C++:

To run solutions you need a C compiler like GNU GCC, then you need to compile the main.c and execute the output :

gcc main.c -o main #compile code
./main #run it

Python:

To run solutions you need to install python (or from pkg manager for linux systems apt-get install python), then you can run:

python script.py

Java:

To run solutions you need to install jdk (Select Use specified compiler and then select the javac.exe), then you can run:

javac program.java #compile code
java program #run it

Authors

🔗 Links

portfolio

linkedin

twitter

Contributing

Contributions are always welcome!