foo.cc: In function 'int main()':
foo.cc:4:5: error: 'cin' was not declared in this scope
cin>>a>>b;
^~~
foo.cc:4:5: note: suggested alternative: 'main'
cin>>a>>b;
^~~
main
foo.cc:6:8: error: 'isSuperPrimer' was not declared in this scope
if(isSuperPrimer(i))
^~~~~~~~~~~~~
foo.cc:8:6: error: 'cout' was not declared in this scope
cout<<setiosflags(ios::left)<<setw(5)<<i;
^~~~
foo.cc:8:24: error: 'ios' has not been declared
cout<<setiosflags(ios::left)<<setw(5)<<i;
^~~
foo.cc:8:12: error: 'setiosflags' was not declared in this scope
cout<<setiosflags(ios::left)<<setw(5)<<i;
^~~~~~~~~~~
foo.cc:8:36: error: 'setw' was not declared in this scope
cout<<setiosflags(ios::left)<<setw(5)<<i;
^~~~
foo.cc:11:19: error: 'endl' was not declared in this scope
cout<<endl;
^~~~
foo.cc:11:19: note: suggested alternative: 'enum'
cout<<endl;
^~~~
enum
[Hydro](https://hydro.ac)提供评测服务