AG1 course at FIT CTU. This repository contains my solutions to the homework assignments.
Turned out to be pretty simple.
I wrote many tests but I didn't figure out what's wrong with my code. It seems to work but I didn't pass all the tests on the Progtest site.
I used the Jarnik algorithm to find the minimal spanning tree and then a simple algorithm for the minimum vertex cover of the final spanning tree.