输入格式那里,把 <= 应作 ≤ ,即: … The first line contains 6 integer numbers n , P1 , P2 , P3 , T1 , T2 ( 1<=n<=100,0<=P1,P2,P3<=100,1<=T1,T2<=60 ). … Each i -th of these lines contains two space-separated integers li and ri ( 0<=li<ri<=1440 , ri<li+1 for i<n ), …
应作: … The first line contains 6 integer numbers n , P1 , P2 , P3 , T1 , T2 ( 1≤n≤100,0≤P1,P2,P3≤100,1≤T1,T2≤60 ). … Each i -th of these lines contains two space-separated integers li and ri ( 0≤li<ri≤1440 , ri<li+1 for i<n ), …
码(for 整段输入格式)
The first line contains 6 integer numbers $ n $ , $ P_{1} $ , $ P_{2} $ , $ P_{3} $ , $ T_{1} $ , $ T_{2} $ ( $ 1\le n\le 100,0\le P_{1},P_{2},P_{3}\le 100,1\le T_{1},T_{2}\le 60 $ ). The following $ n $ lines contain description of Tom's work. Each $ i $ -th of these lines contains two space-separated integers $ l_{i} $ and $ r_{i} $ ( $ 0\le l_{i}<r_{i}\le 1440 $ , $ r_{i}<l_{i+1} $ for $ i<n $ ), which stand for the start and the end of the $ i $ -th period of work.