Updated 3 solutions for cms.di.unipi.it problems