secret.cpp: In function 'void Init(int, int*)':
secret.cpp:49:48: error: invalid conversion from 'std::ios_base& (*)(std::ios_base&)' to 'int' [-fpermissive]
arr1[x][y] = solve(left , right , x , y);
^
secret.cpp:20:5: note: initializing argument 1 of 'int solve(int, int, int, int)'
int solve(int left , int right , int l , int r)
^~~~~
secret.cpp:49:48: error: invalid conversion from 'std::ios_base& (*)(std::ios_base&)' to 'int' [-fpermissive]
arr1[x][y] = solve(left , right , x , y);
^
secret.cpp:20:5: note: initializing argument 2 of 'int solve(int, int, int, int)'
int solve(int left , int right , int l , int r)
^~~~~
secret.cpp: In function 'int solve(int, int, int, int)':
secret.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^