Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Codeforces 707A
- #include <iostream>
- using namespace std;
- int main()
- {
- int n, m;
- char symb;
- bool rez = false;
- cin >> n >> m;
- for( int i = 0; i < n; i++ )
- {
- for( int y = 0; y < m; y++ )
- {
- cin >> symb;
- if( symb == 'C' || symb == 'M' || symb == 'Y' )
- {
- rez = true;
- }
- }
- }
- if( rez == true ){ cout << "#Color"; }
- else{cout << "#Black&White"; }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement