Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
214 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	
	int mas[10];
	short int h;
	for (int i = 0; i < 10; i++) {
		cin >> mas[i];
		if (mas[i] == 0) {
			h = i;
		}
	}
	cout << h + 1;
	return 0;
}
Leave a Comment