zamjena.cpp: In function 'bool isdig(std::__cxx11::string)':
zamjena.cpp:32:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < s.size() && s[i] >= '0' && s[i] <= '9') i++;
~~^~~~~~~~~~
zamjena.cpp:33:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return i == s.size();
~~^~~~~~~~~~~
zamjena.cpp: In function 'int main()':
zamjena.cpp:72:48: error: too many arguments to function 'void dfs(std::__cxx11::string, std::__cxx11::string)'
if (!mk[a[i]]) {kl = 0; dfs(a[i], "", 0);}
^
zamjena.cpp:36:6: note: declared here
void dfs(string v, string pr)
^~~
zamjena.cpp:73:48: error: too many arguments to function 'void dfs(std::__cxx11::string, std::__cxx11::string)'
if (!mk[b[i]]) {kl = 0; dfs(b[i], "", 0);}
^
zamjena.cpp:36:6: note: declared here
void dfs(string v, string pr)
^~~