Port Facility

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

ManycontainersaretransportedbyshipstotheJOIPorteveryday. Theyaretransportedtoalloverthecountry by trucks. The JOI Port is very narrow. It has only two areas where we can put containers. In each area, we can put any number of containers vertically. For safety reasons, when a container is transported by a ship, we have to put it on one of the areas. If some containers are already put there, we have to put it on the top of them. When we transport a container by a truck, we have to take a container from the top of the containers on one of the areas. Today, N containers will be transported to the JOI Port. All of them will be transported by trucks. Your task is to manage the facilities of the JOI Port. For each container, you know when it will come and when it will leave. Write a program which calculates the number of ways to put and take containers modulo 1000000007.

HUAS2018第四周训练

未参加
状态
已结束
规则
OI
题目
3
开始于
2018-03-28 17:00
结束于
2018-04-02 05:00
持续时间
108.0 小时
主持人
参赛人数
7