0_0_20974084_5413.cpp: In function 'void Gauss()':
0_0_20974084_5413.cpp:18:12: error: 'm' was not declared in this scope
int cnt = m * n,now = 1;
^
0_0_20974084_5413.cpp:18:16: error: 'n' was not declared in this scope
int cnt = m * n,now = 1;
^
0_0_20974084_5413.cpp:20:15: error: 'now' was not declared in this scope
for(int j = now + 1; j <= cnt; ++j)
^
0_0_20974084_5413.cpp:24:11: error: 'now' was not declared in this scope
if(!arr[now][i]) {
^
0_0_20974084_5413.cpp:28:34: error: invalid types 'bool[int]' for array subscript
arr[i][j] = 0,ans[i][cnt + 1] ^= 1;
^
0_0_20974084_5413.cpp:31:15: error: 'now' was not declared in this scope
for(int j = now + 1; j <= cnt; ++j)
^
0_0_20974084_5413.cpp:35:13: error: 'now' was not declared in this scope
represent[now] = i;
^
0_0_20974084_5413.cpp:38:14: error: 'now' was not declared in this scope
for(int i = now; i; --i) {
^
0_0_20974084_5413.cpp: In function 'int main()':
0_0_20974084_5413.cpp:49:9: error: 'm' was not declared in this scope
cin >> m >> n;
^
0_0_20974084_5413.cpp:49:14: error: 'n' was not declared in this scope
cin >> m >> n;
^
0_0_20974084_5413.cpp:52:18: error: 'cnt' was not declared in this scope
num[i][j] = ++cnt;
^
|