707A codeforces - Brains Photos Mohamed Sobhi 8:38 م A Problems , Codeforces Edit 707A codeforces Brains Photos Solution in C++ #include <iostream> using namespace std; int main() { int a,b,c=0; cin>>a>>b; for(int i=0;i<a*b;i++){ char t; cin>>t; if(t=='C' || t=='M' || t=='Y')c++; } if(c) cout<<"#Color\n"; else cout<<"#Black&White\n"; return 0; } Share on Facebook Share on Twitter Share on Google Plus About Mohamed Sobhi My name is Mo.Sobhy ,I study at School excelling high school in Ain Shams ,Cairo My hobbies is programming ,and web development ,playing chess and writing horror stories. RELATED POSTS
0 التعليقات:
إرسال تعليق