1 solutions

  • 0
    @ 2025-7-12 16:24:41

    #include <bits/stdc++.h> using namespace std;

    int main() { int a[10], h, x = 0; for (int i = 0; i < 10; i++) { cin >> a[i]; } cin >> h;

    h = h + 30;
    for (int j = 0; j < 10; j++) {
    	if (a[j] <= h ) {
    		x++;
    	}
    }
    cout << x;
    return 0;
    

    }

    • 1

    Information

    ID
    332
    Time
    1000ms
    Memory
    16MiB
    Difficulty
    1
    Tags
    # Submissions
    61
    Accepted
    44
    Uploaded By