The top-3 students will get a prize: a backpack with 3 pins from the 2019 ICPC World Finals and also a chance to have a snack with Prof. Pedro Ribeiro. For the purposes of receiving this prize you should submit until 23:59 of 2026 January 31st
(the problem will stil be available afterwards, but without counting towards the prizes)

If the best student gets a better score than Prof. Pedro Ribeiro solution (currently 184 bytes, but the professor might still work to improve it) will addicionally receive a special prize: a lunch with the professor, where he will pay the student a "francesinha".


[XMAS] Christmas Tree

Write a Python program to print the following Christmas tree. Your score will be equal to the size of your program (number of bytes of the submitted file). The smaller your source code, the better! 😁 (code golf)

_____________*_______________
____________***______________
___________*o_o*_____________
__________*o___o*____________
_________*o_____o*___________
________*o___o___o*__________
_______*o___o_o___o*_________
______*o_o_o___o_o_o*________
_____*___*o_____o*___*_______
________*o_______o*__________
_______*o____o____o*_________
______*o____o_o____o*________
_____*o____o___o____o*_______
____*o__o_o_____o_o__o*______
________*o_______o*__________
_______*o_________o*_________
______*o___________o*________
_____*o_____________o*_______
____*o_______________o*______
___*o_________________o*_____
__*o___________________o*____
_*o_o_o_o_o_o_o_o_o_o_o_o*___
____________o_o______________
____________o_o______________
____________o_o______________
____________o_o______________
____________o_o______________
____________ooo______________

Merry Christmas 🎄 and a Happy New Year 🎉 to all of you!


Introduction to Programming (CC1024)
DCC/FCUP - University of Porto