阅读背景:

codeforces 894B Ralph And His Magic Field

来源:互联网 

https://www.elijahqi.win/archives/1606
Ralph has a magic field which is divided into n × m blocks. That is to say, there are n rows and m columns on the field. Ralph can put an integer in each block. However, the magic field doesn’t always work properly. It works only if the product of integers in each row and each column equals to k, where k is either 1 or -1. Ral




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: