摘要: 1、求数组里最小的差值的两个紧挨着的数 方法:暴力法 注意题目中给出的数值的范围用int会溢出,这里用long long #include<iostream>#include<vector>using namespace std;int main(){ int n; cin >> n; vector 阅读全文
posted @ 2019-08-11 10:27 giraffeqiu 阅读(255) 评论(0) 推荐(0) 编辑