-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproblema.cpp
More file actions
60 lines (50 loc) · 1.11 KB
/
problema.cpp
File metadata and controls
60 lines (50 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#include <iostream>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <vector>
#include <utility>
#include <iomanip>
#include <sstream>
#include <bitset>
#include <cstdlib>
#include <iterator>
#include <algorithm>
#include <cstdio>
#include <cctype>
#include <cmath>
#include <math.h>
#include <ctime>
#include <cstring>
#define ll long long
#define lf double
#define sl(n) scanf("%lld", &n)
#define sf(n) scanf("%lf", &n)
#define PI 2*acos(0.0)
#define INFP ((ll)1<<62)
#define INFN (0-(ll)1<<62)
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define srt(v) sort(v.begin(), v.end())
using namespace std;
int main(){
ll n,m;
sl(n); sl(m);
bool col = false;
scanf(" ");
for( ll i = 1 ; i<=n ; i++ ){
for( ll j = 1 ; j<=m ; j++ ){
char c;
scanf("%c", &c);
scanf(" ");
//cout<<c<<endl;
if(c=='C' || c=='M' || c=='Y') col = true;
}
}
if(col) printf("#Color\n");
else printf("#Black&White\n");
return 0;}