#include using namespace std;

int main() { int grape_height[10]; int max_height; int count = 0;

for (int i = 0; i < 10; i++) {
    cin >> grape_height[i];
}

cin >> max_height;

for (int i = 0; i < 10; i++) {
    if (grape_height[i] <= max_height) {
        count++;
    }
}

cout << count << endl;

return 0;

}


原文地址: https://www.cveoy.top/t/topic/pN7D 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录