Well, no doubt that 2016 is the most glorious year in my life before. I got my first job as a software engineer, and fortunately, I have got chance to work on some new field about algorithm: Natural Language Processing and Machine Learning, while I thought I would be a web back-end engineer, so technically, I am an algorithm engineer now, that’s cool, isn’t it? Thanks to my lovely teammates, every working day is so attractive to me, not only I can get help about work from them but also to have wonderful food with them. Everything is just awesome.
733D D. Kostya the Sculptor time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Kostya is a genial sculptor, he has an idea: to carve a marble sculpture in the shape of a sphere. Kostya has a friend Zahar who works at a career. Zahar knows about Kostya’s idea and wants to present him a rectangular parallelepiped of marble from which he can carve the sphere.
721C C. Journey time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Recently Irina arrived to one of the most famous cities of Berland — the Berlatov city. There are n showplaces in the city, numbered from1 to n, and some of them are connected by one-directional roads. The roads in Berlatov are designed in a way such that there are nocyclic routes between showplaces.