About Grisha N.
题目链接:
http://acm.hust.edu.cn/vjudge/contest/126546#problem/A
Description
Grisha N. told his two teammates that he was going to solve all given problems at the quarter-finals, even
if all his teammates wouldn’t show up at the competition. The teammates didn’t believe Grisha so he
told them the plan how he was going to do this.
During the first hour he wants to solve