This repo contains proposed solutions to the Moroccan Collegiate Programming Contest 2021.
./pratice
contains solutions for the practice session../contest
contains solutions for the actual contest../problems
contains the problems set.
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 | - | - | - | - |
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
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
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
Contributions are always welcome!