Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:3: error: 'cin' was not declared in this scope
   cin>>str1;
   ^~~
/in/foo.cc:9:3: error: 'cout' was not declared in this scope
   cout<<str1.length();
   ^~~~
/in/foo.cc:11:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<str1.length()+1;i++){
                ~^~~~~~~~~~~~~~~~

信息

递交者
类型
递交
题目
P1078 回文串
语言
C++
递交时间
2022-01-02 13:00:15
评测时间
2022-01-02 13:01:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes