/in/foo.cc:30:28: error: stray '\357' in program
for(int i = n; i <= m; i++)
^
/in/foo.cc:30:29: error: stray '\274' in program
for(int i = n; i <= m; i++)
^
/in/foo.cc:30:30: error: stray '\211' in program
for(int i = n; i <= m; i++)
^
/in/foo.cc: In function 'bool cal(int)':
/in/foo.cc:13:2: error: 'vector' was not declared in this scope
vector<int> v;
^~~~~~
/in/foo.cc:13:2: note: suggested alternative:
In file included from /usr/include/c++/6/vector:64:0,
from /usr/include/c++/6/queue:61,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:86,
from /in/foo.cc:1:
/usr/include/c++/6/bits/stl_vector.h:214:11: note: 'std::vector'
class vector : protected _Vector_base<_Tp, _Alloc>
^~~~~~
/in/foo.cc:13:9: error: expected primary-expression before 'int'
vector<int> v;
^~~
/in/foo.cc:16:3: error: 'v' was not declared in this scope
v.push_back(q % 10);
^
/in/foo.cc:20:14: error: 'v' was not declared in this scope
for(int i = v.size(); i>= 0 ;i--)
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:2: error: 'cin' was not declared in this scope
cin >> n >> m;
^~~
/in/foo.cc:29:2: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
from /in/foo.cc:1:
/usr/include/c++/6/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^~~
/in/foo.cc:31:2: error: expected ')' before '{' token
{
^
/in/foo.cc:34:4: error: 'cout' was not declared in this scope
cout << i << endl;
^~~~
/in/foo.cc:34:4: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
from /in/foo.cc:1:
/usr/include/c++/6/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^~~~
/in/foo.cc:34:17: error: 'endl' was not declared in this scope
cout << i << endl;
^~~~
/in/foo.cc:34:17: note: suggested alternative:
In file included from /usr/include/c++/6/istream:39:0,
from /usr/include/c++/6/sstream:38,
from /usr/include/c++/6/complex:45,
from /usr/include/c++/6/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:52,
from /in/foo.cc:1:
/usr/include/c++/6/ostream:590:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^~~~