Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:9: error: unable to find string literal operator 'operator""endl' with 'const char [5]', 'long unsigned int' arguments
  cout <<"A   "endl; 
         ^~~~~~~~~~
/in/foo.cc:6:9: error: unable to find string literal operator 'operator""endl' with 'const char [6]', 'long unsigned int' arguments
  cout <<"AAA  "endl;
         ^~~~~~~~~~~
/in/foo.cc:7:9: error: unable to find string literal operator 'operator""endl' with 'const char [7]', 'long unsigned int' arguments
  cout <<"AAAAA "endl;
         ^~~~~~~~~~~~
/in/foo.cc:8:9: error: unable to find string literal operator 'operator""endl' with 'const char [8]', 'long unsigned int' arguments
  cout <<"AAAAAAA"endl;
         ^~~~~~~~~~~~~
/in/foo.cc:10:10: error: expected '}' at end of input
  return 0;
          ^

信息

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