On the stationarity conditions in an optimal control problem for a trajectory with smooth boundary contact on a single intervalдоклад на конференции