Compile Error

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

信息

递交者
类型
递交
题目
P1001 打印字符
语言
C++
递交时间
2023-11-03 19:06:43
评测时间
2023-11-03 19:06:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes