不应该85分吗,为什么全WA了,还有为什么超时没显示啊啊啊
#include <bits/stdc++.h>
using namespace std;
int n, L, v, q, t, ans, tmp = -1, s;
int a[200005];
bool Cmp(int b1, int b2)
{
	return b1 > b2;
}
void In()
{
	scanf("%d%d%d", &n, &L, &v);
	for (int i = 0; i < n; i++)
	{
		scanf("%d", &a[i]);
	}
	stable_sort(a, a + n, Cmp);
	scanf("%d", &q);
}
void Do()
{
	
	while (q--)
	{
		ans = 0;
		s = L;
		scanf("%d", &t);
		for (int i = 0; i < n; i++)
		{
			if (s < v * t)
			{
				printf("%d\n", ans);
				break;
			}
			s += a[i];
			ans++;
		}
		if (s >= v * t)
			cout << -1 << endl;
	}
}
int main()
{
	In();
	Do();
	return 0;
}
各位大犇救救我这个迷茫的蒟蒻,不胜感激