The film was shot in St. Petersburg, including a large number of locations in the city center, including the famous St. Petersburg rooftops. 

Filming Locations:

Rooftop

In the Movie

Scene where students throw a party on the rooftop.

In Reality

Click to open map

The scene was filmed on the roof of the building at Kirochnaya 13, which is not far from the Transfiguration Cathedral, which we can see in the frame in the background.