Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
258 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main() {
	setlocale(LC_ALL, "Russian");
	int mas[10], a;
	for (int i = 0; i < 10; i++) {
		cin >> a;
		mas[i] = a;
	}
	for (int i = 0; i < 10; i++) {
		if (mas[i] == 0) {
			cout << i + 1;
		}
	}
}
Leave a Comment