#include <stdio.h> int main() { int high[10]; int get; int x = 0;
for (int i = 0; i < 10; i++) { scanf_s("%d", &high[i]); } scanf_s("%d", &get); get = get + 30; for (int i = 0; i < 10; i++) { if (get >= high[i]) { x++; } } printf("%d", x); return 0;
}
By signing up a FJNU Online Judge universal account, you can submit code and join discussions in all online judging services provided by us.
Using your FJNU Online Judge universal account