0_0_30689181_2989.cpp: In function 'int sch(int, int)':
0_0_30689181_2989.cpp:15:29: error: 'n' was not declared in this scope
while(rr+d1[k][0] < n && rr+d1[k][0] >= 0 && cc+d1[k][1] < n && cc+d1[k][1]>=0 && s[rr+d1[k][0]][cc+d1[k][1]] == '.') {
^
0_0_30689181_2989.cpp:15:91: error: 's' was not declared in this scope
while(rr+d1[k][0] < n && rr+d1[k][0] >= 0 && cc+d1[k][1] < n && cc+d1[k][1]>=0 && s[rr+d1[k][0]][cc+d1[k][1]] == '.') {
^
0_0_30689181_2989.cpp:22:29: error: 'n' was not declared in this scope
while(rr+d2[k][0] < n && rr+d2[k][0] >= 0 && cc+d2[k][1] < n && cc+d2[k][1]>=0 && s[rr+d2[k][0]][cc+d2[k][1]] == '.') {
^
0_0_30689181_2989.cpp:22:91: error: 's' was not declared in this scope
while(rr+d2[k][0] < n && rr+d2[k][0] >= 0 && cc+d2[k][1] < n && cc+d2[k][1]>=0 && s[rr+d2[k][0]][cc+d2[k][1]] == '.') {
^
0_0_30689181_2989.cpp:27:25: error: 'max' was not declared in this scope
mx = max(mx, sum);
^
0_0_30689181_2989.cpp: In function 'int main()':
0_0_30689181_2989.cpp:36:24: error: 'n' was not declared in this scope
while(scanf("%d", &n), n) {
^
0_0_30689181_2989.cpp:36:25: error: 'scanf' was not declared in this scope
while(scanf("%d", &n), n) {
^
0_0_30689181_2989.cpp:40:25: error: 's' was not declared in this scope
scanf("%s", s[i]);
^
0_0_30689181_2989.cpp:44:20: error: 's' was not declared in this scope
if(s[i][j] == '.') {
^
0_0_30689181_2989.cpp:45:43: error: 'max' was not declared in this scope
mx = max(mx, sch(i, j));
^
0_0_30689181_2989.cpp:49:26: error: 'printf' was not declared in this scope
printf("%d\n", mx);
^
|