Skip to content

Commit e06219d

Browse files
committed
Brain's Photos
1 parent 7085f92 commit e06219d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

707A.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include<bits/stdc++.h>
2+
using namespace std;
3+
4+
int main(){
5+
int n, m;
6+
cin>>n>>m;
7+
char x;
8+
for(int i = 0; i < (n*m); i++){
9+
cin>>x;
10+
if(x != 'B' && x != 'W' && x != 'G'){
11+
cout<<"#Color"<<endl;
12+
return 0;
13+
}
14+
}
15+
cout<<"#Black&White"<<endl;
16+
return 0;
17+
}

0 commit comments

Comments
 (0)