摘要: 地址:http://codeforces.com/contest/1406/problem/B 题意: 给出n个数,找出5个数,使得乘积最大化。 解析: 5个数,分情况: 负 正 0 5 1 4 2 3 3 2 4 1 5 0 可以发现,对于负数个数为1,3的时候,这个时候结果是负数 假设这个时候n 阅读全文
posted @ 2020-09-14 21:03 liyexin 阅读(214) 评论(0) 推荐(0)