adding some problems of the yandex algorithm contest