摘要: 题目链接 https://ac.nowcoder.com/acm/contest/4137/M 就是一道模拟题, 重要的是题意理解清楚 #include<iostream> #include<string> #include <cstdlib> #include <algorithm> #inclu 阅读全文
posted @ 2020-02-01 23:10 hulian425 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://ac.nowcoder.com/acm/contest/4137/N 其实看到数据量 2000应该要想到时间复杂度基本就On2 题解:不管怎么合并,答案都一样的, 所有数两两乘积的和 代码 #include<iostream> #include<string> #inclu 阅读全文
posted @ 2020-02-01 19:02 hulian425 阅读(262) 评论(0) 推荐(0) 编辑