2013年3月26日

UVa11134 - Fabled Rooks

摘要: Problem F: Fabled RooksWe would like to placenrooks, 1≤n≤5000, on an×nboard subject to the following restrictionsThei-th rook can only be placed within the rectangle given by its left-upper corner (xli,yli) and its right-lower corner (xri,yri), where 1≤i≤n, 1≤xli≤xri≤n, 1≤yli≤yri≤n.... 阅读全文

posted @ 2013-03-26 18:53 仗剑奔走天涯 阅读(405) 评论(0) 推荐(0) 编辑

导航