Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:4: error: 'cout' was not declared in this scope
    cout<<"No"<<endl;
    ^~~~
/in/foo.cc:12:16: error: 'endl' was not declared in this scope
    cout<<"No"<<endl;
                ^~~~
/in/foo.cc:16:2: error: 'cout' was not declared in this scope
  cout<<"Yes"<<endl;
  ^~~~
/in/foo.cc:16:15: error: 'endl' was not declared in this scope
  cout<<"Yes"<<endl;
               ^~~~

信息

递交者
类型
自测
题目
P1951 1.7.33判断字符串是否为回文
语言
C++
递交时间
2024-05-31 22:53:12
评测时间
2024-05-31 22:53:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes