⛴李恒旭⚔♆§ • 1年前
using namespace std;
int main() {
long h, m, n, a[100000], l = 0, i, k = 0; cin >> n; cin >> h; cin >> m; l = m + h; for (i = 0; i < n; i++) { cin >> a[i]; if (l >= a[i]) { k++; } } cout << k; return 0;
}
评论:
请先登录,才能进行评论