换到板端想提交代码,报错如下:
remote:
remote: The project you were looking for could not be found.
remote:
remote:
remote:
fatal: Could not read from remote repository.解决方法: 运行 git remote -v 看一下远程的仓库路径是…
代码
#include<bits/stdc.h>
using namespace std;const int N 110, M 25010;int a[N], f[M];void solve()
{int n;cin >> n;int m 0;for (int i 1; i < n; i ){cin >> a[i];m max(m, a[i]);}sort(a 1, a n 1);memset(f, 0, sizeof f);int ans …