Solution of some problems from http://acm.math.spbu.ru/trains/13s344.pdf