tracks.cpp: In function 'void go(int, int, char, int)':
tracks.cpp:26:34: error: too few arguments to function 'void go(int, int, char, int)'
26 | if(!was[x - 1][y])go(x - 1, y, s);
| ^
tracks.cpp:22:6: note: declared here
22 | void go(int x, int y, char s, int cnt){
| ^~
tracks.cpp:27:34: error: too few arguments to function 'void go(int, int, char, int)'
27 | if(!was[x + 1][y])go(x + 1, y, s);
| ^
tracks.cpp:22:6: note: declared here
22 | void go(int x, int y, char s, int cnt){
| ^~
tracks.cpp:28:34: error: too few arguments to function 'void go(int, int, char, int)'
28 | if(!was[x][y - 1])go(x, y - 1, s);
| ^
tracks.cpp:22:6: note: declared here
22 | void go(int x, int y, char s, int cnt){
| ^~
tracks.cpp:29:34: error: too few arguments to function 'void go(int, int, char, int)'
29 | if(!was[x][y + 1])go(x, y + 1, s);
| ^
tracks.cpp:22:6: note: declared here
22 | void go(int x, int y, char s, int cnt){
| ^~
tracks.cpp: In function 'void solve()':
tracks.cpp:44:12: error: too few arguments to function 'void go(int, int, char, int)'
44 | go(n, m, s);
| ^
tracks.cpp:22:6: note: declared here
22 | void go(int x, int y, char s, int cnt){
| ^~