报错内容:
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion1, but package-lock.json was generated for lockfileVersion2. Ill try to do my best with it!
npm WARN tar ENOENT: no such file or directory, open /home/wvp-…
Problem - 1407B - Codeforces 解析: 显然最大的数肯定放到第一个,然后对于之后每一个数,贪心考虑让其最大公约数最大即可。 时间复杂度log(n^2logn)
#include<bits/stdc.h>
using namespace std;
#define int long long
const int N…