0_0_21372281_8099.cpp: In function 'int main()':
0_0_21372281_8099.cpp:57:76: error: no matching function for call to 'read(int*)'
for (int i = 1; i <= n; ++i) for (int j = 1; j <= m; ++j) read(&g[i][j]);
^
0_0_21372281_8099.cpp:57:76: note: candidates are:
0_0_21372281_8099.cpp:16:5: note: int read(char*)
int read(char *s) {
^
0_0_21372281_8099.cpp:16:5: note: no known conversion for argument 1 from 'int*' to 'char*'
0_0_21372281_8099.cpp:34:6: note: bool read(int&)
bool read(int &x) {
^
0_0_21372281_8099.cpp:34:6: note: no known conversion for argument 1 from 'int*' to 'int&'
|