x

百变马丁  •  22天前


include <bits/stdc++.h>

using namespace std;

int main() { int h = 30, s, a[11] = {0}, i, j = 0;

for (i = 0; i <= 9; i++) {

cin >> a[i]; }

cin >> s;

for (i = 0; i <= 9; i++) {

if (s + h >= a[i]) { j++; } }

cout << j; return 0; }


评论:

请先登录,才能进行评论