#include #include #include #include #include void main() { char str[80]; fgets(str, 80, stdin); // 212 is ' // 213 is ` char comma; int x, y; scanf("%d %c %d", &x, &comma, &y); //cin >> x >> comma >> y; char array[20][20]; fgets(str, 80, stdin); // cin.getline(str,80); for (int i =0;i='A') { array[i][j] = tmp; if (j!=y-1) cin.get(); // cout << "Adding " << tmp << endl; // cout << "(" << i << "," << j << "(" << endl; } else { array[i][j] = 0; } if (j!=y-1) tmp = fgetc(stdin); } } int j; /* for (int i =0;i> num; // cout << "Num is " << num << endl; while (tmp!=',') tmp = fgetc(stdin); char clue[50]; int count = 0; tmp = fgetc(stdin); while (tmp!=',') tmp =fgetc(stdin); tmp = cin.get(); while(isspace(tmp)) tmp = fgetc(stdin); while (tmp!='\n') { if (tmp == 212) tmp = '\''; else if (tmp == 213) { fgetc(stdin); tmp = '"'; } clue[count++] = tmp; tmp = fgetc(stdin); } clue[count] = '\0'; char answer[20]; int c= 0; int a, b; // cout << "Num is " << num << endl; for (int i = 0;i