/in/foo.cc:13:16: error: stray '\357' in program
int getf(int f);
^
/in/foo.cc:13:17: error: stray '\274' in program
int getf(int f);
^
/in/foo.cc:13:18: error: stray '\233' in program
int getf(int f);
^
/in/foo.cc:14:1: error: expected initializer before 'void'
void merge(int a,int b);
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(x=y&&op==2) {ans++;continue;}
^
/in/foo.cc:35:13: error: 'getf' was not declared in this scope
if(getf(x)==getf(y+n)) {ans++;continue;}
^
/in/foo.cc:36:13: error: 'getf' was not declared in this scope
if(getf(x)==getf(y+2*n) {ans++;continue;}
^
/in/foo.cc:36:29: error: expected ')' before '{' token
if(getf(x)==getf(y+2*n) {ans++;continue;}
^
/in/foo.cc:38:17: error: no matching function for call to 'merge(int, int)'
merge(x+n,y+n);
^
In file included from /usr/include/c++/6/algorithm:62:0,
from /in/foo.cc:2:
/usr/include/c++/6/bits/stl_algo.h:4789:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^~~~~
/usr/include/c++/6/bits/stl_algo.h:4789:5: note: template argument deduction/substitution failed:
/in/foo.cc:38:17: note: candidate expects 5 arguments, 2 provided
merge(x+n,y+n);
^
In file included from /usr/include/c++/6/algorithm:62:0,
from /in/foo.cc:2:
/usr/include/c++/6/bits/stl_algo.h:4839:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^~~~~
/usr/include/c++/6/bits/stl_algo.h:4839:5: note: template argument deduction/substitution failed:
/in/foo.cc:38:17: note: candidate expects 6 arguments, 2 provided
merge(x+n,y+n);
^
/in/foo.cc:39:15: error: expected ')' before ';' token
merge(x+2*n;y+2*n);
^
/in/foo.cc:39:21: error: expected ';' before ')' token
merge(x+2*n;y+2*n);
^
/in/foo.cc:39:17: warning: statement has no effect [-Wunused-value]
merge(x+2*n;y+2*n);
~^~~~
/in/foo.cc:43:13: error: 'getf' was not declared in this scope
if(getf(x)==getf(y)) {ans++;continue;}
^
/in/foo.cc:44:13: error: 'getf' was not declared in this scope
if(getf(x)==getf(y+2*n) {ans++;continue;}
^
/in/foo.cc:44:29: error: expected ')' before '{' token
if(getf(x)==getf(y+2*n) {ans++;continue;}
^
/in/foo.cc:46:19: error: no matching function for call to 'merge(int, int)'
merge(x+n,y+n*2);
^
In file included from /usr/include/c++/6/algorithm:62:0,
from /in/foo.cc:2:
/usr/include/c++/6/bits/stl_algo.h:4789:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^~~~~
/usr/include/c++/6/bits/stl_algo.h:4789:5: note: template argument deduction/substitution failed:
/in/foo.cc:46:19: note: candidate expects 5 arguments, 2 provided
merge(x+n,y+n*2);
^
In file included from /usr/include/c++/6/algorithm:62:0,
from /in/foo.cc:2:
/usr/include/c++/6/bits/stl_algo.h:4839:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^~~~~
/usr/include/c++/6/bits/stl_algo.h:4839:5: note: template argument deduction/substitution failed:
/in/foo.cc:46:19: note: candidate expects 6 arguments, 2 provided
merge(x+n,y+n*2);
^
/in/foo.cc:47:17: error: no matching function for call to 'merge(int, int&)'
merge(x+2*n,y);
^
In file included from /usr/include/c++/6/algorithm:62:0,
from /in/foo.cc:2:
/usr/include/c++/6/bits/stl_algo.h:4789:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^~~~~
/usr/include/c++/6/bits/stl_algo.h:4789:5: note: template argument deduction/substitution failed:
/in/foo.cc:47:17: note: candidate expects 5 arguments, 2 provided
merge(x+2*n,y);
^
In file included from /usr/include/c++/6/algorithm:62:0,
from /in/foo.cc:2:
/usr/include/c++/6/bits/stl_algo.h:4839:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^~~~~
/usr/include/c++/6/bits/stl_algo.h:4839:5: note: template argument deduction/substitution failed:
/in/foo.cc:47:17: note: candidate expects 6 arguments, 2 provided
merge(x+2*n,y);
^