摘要:
1162 B 题意 一个矩阵单调递增当且仅当它的行和列都单调递增。现在给你两个大小相同的矩阵 $(n,m\le 50)$ ,你可以交换两个矩阵位于相同位置的元素,问能否把两个矩阵都变成单调递增的。 Examples input 2 2 2 10 11 5 9 4 3 12 output Possib 阅读全文
posted @ 2019-06-16 17:27
chc_1234567890
阅读(181)
评论(0)
推荐(0)
摘要:
1159 B 题意 给你一个序列 $a(a_i\le 10^9)$ ,长度 $n\le 10^5$ ,求 $\text{floor}(\min(\frac{\min(a_i,a_j)}{|i j|}))$ Examples input 4 6 4 5 5 output 1 input 3 0 1 2 阅读全文
posted @ 2019-06-16 13:36
chc_1234567890
阅读(241)
评论(0)
推荐(0)

浙公网安备 33010602011771号