Compile Error

foo.cc: In function 'int main()':
foo.cc:5:8: error: unable to find string literal operator 'operator""endl' with 'const char [8]', 'long unsigned int' arguments
  cout<<"A      "endl; 
        ^~~~~~~~~~~~~
foo.cc:6:8: error: unable to find string literal operator 'operator""endl' with 'const char [8]', 'long unsigned int' arguments
  cout<<"AAA    "endl; 
        ^~~~~~~~~~~~~
foo.cc:7:8: error: unable to find string literal operator 'operator""endl' with 'const char [8]', 'long unsigned int' arguments
  cout<<"AAAAA  "endl;
        ^~~~~~~~~~~~~
foo.cc:8:8: error: unable to find string literal operator 'operator""endl' with 'const char [8]', 'long unsigned int' arguments
  cout<<"AAAAAAA"endl;    
        ^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1001 打印字符
语言
C++
递交时间
2021-11-02 21:10:20
评测时间
2021-11-02 21:10:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes