Untitled
unknown
c_cpp
2 years ago
369 B
3
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 j = 0; j < b; j++) { cin >> c; if (c == 67 or c == 77 or c == 89) { m++; } } } if (m > 0) { cout << "#Color"; } else { cout << "#Black&White"; } }
Editor is loading...
Leave a Comment