Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
369 B
1
Indexable
#include <iostream>
using namespace std;

int main()
{
	int a, b, m = 0;
	char c;

	cin >> a >> b;
	//c - 67 , m - 77,  - 89
	for (int i = 0; i < a; i++) {
		for (int g = 0; g < b; g++) {
			cin >> c;
			if (c == 67 or c == 77 or c == 89) {
				m++;
			}
		}
	}
	if (m > 0) {
		cout << "#Color";
	}
	else {
		cout << "#Black&White";
	}


}

Leave a Comment