The only difference between easy and hard versions is the constraints.
Vova likes pictures with kittens. The news feed in the social network he uses c ......
As you know, Vova has recently become a new shaman in the city of Ultima Thule. So, he has received the shaman knowledge about the correct bracket seq ......
B. School Marks
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Little Vova studie ......
Vova promised himself that he would never play computer games... But recently Firestorm — a well-known game developing company — published their newes ......
Vova is playing a computer game. There are in total nn turns in the game and Vova really wants to play all of them. The initial charge of his laptop b ......