Solutions to MAIN (http://main.edu.pl/pl) contests and exercises.