Codeforces Round #166 (Div. 2) B. Prime Matrix(素数筛选,简单)
摘要:
B. Prime Matrixtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got an n × m matrix. The matrix consists of integers. In one move, you can apply a single transformation to the matrix: choose an arbitrary element of the matrix and i 阅读全文
posted @ 2013-02-17 21:47 铁树银花 阅读(339) 评论(0) 推荐(0) 编辑