摘要:
原题{http://usaco.org/index.php?page=viewproblem2&cpid=131USACO 2012 US Open, Bronze DivisionProblem 2. Three Lines by hcy 2012.10.23}const m=50000;type arr=array[1..5,1..2] of longint;var n,i,j,max:longint;a:array[0..m,1..2] of longint;b:arr;function check(line,k:longint;c:arr):boolean;var i:inte 阅读全文