coci 2013 contest1_tasks(9)

2021-02-21 17:46

coci试题

INPUT

The first line of input contains the positive integer K (1 ≤ K ≤ 9) from the problem statement.

Each of the following 2K lines contains 2K integers from the interval [0, 106]. These 2K × 2K numbers represent repulsion between bacteria pairs: the number in row m and column n is the repulsion between bacteria m and n. This number will, of course, be equal to the number in row n and column m. For m = n the number will be 0.

OUTPUT

The first and only line of output should contain the minimum possible length of a bacteria sequence satisfying the constraints.

SAMPLE TESTS


coci 2013 contest1_tasks(9).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:人教版六年级数学下册《第四单元达标测试卷》(附答案)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: