/* 0 как цифра числа */#include <iostream>int main() { setlocale(LC_ALL, "Russian"); long int N; int NN, Digit; bool yesZero = false; printf("Количество чисел = "); scanf("%d", &NN); for (int i = 0; i < NN; i++) { scanf("%d", &N); if (yesZero == false) { do { Digit = N % 10; if (Digit == 0) yesZero = true; N = N / 10; } while (N = 0); } } if (yesZero == true) printf("YES"); else printf("NO"); system("pause"); return 0;}/* 0 как отдельное число */#include <iostream>int main() { setlocale(LC_ALL, "Russian"); long int N; int NN; bool yesZero = false; printf("Количество чисел = "); scanf("%d", &NN); for (int i = 0; i < NN; i++) { scanf("%d", &N); if (N == 0) yesZero = true; } if (yesZero == true) printf("YES"); else printf("NO"); system("pause"); return 0;}