Untitled

Anonymous
plain_text
11/16/2023 6:11 PM
360 B
13
Indexable




#include <iostream>
using namespace std;


int main()
{
	int a,b;
	char p;
	cin >> a >> b;
	for (int i = 0; i < a; i++) {
		for (int c = 0; c < b; c++) {
			cin>> p;
			if (p == 'B' && p == 'W' && p == 'G') {
				p++;

			}

		}
 }



}
Editor is loading...
Leave a Comment