Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1101 A、B之间的超级素数
语言
C++
递交时间
2021-08-14 14:34:12
评测时间
2021-08-14 14:36:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes