foo.cc:1:1: error: 'include' does not name a type; did you mean '__has_include'?
include <iostream>
^~~~~~~
__has_include
foo.cc: In function 'int main()':
foo.cc:5:2: error: 'cout' was not declared in this scope
cout <<"AAAAAAA"endl;
^~~~
foo.cc:5:9: error: unable to find string literal operator 'operator""endl' with 'const char [8]', 'long unsigned int' arguments
cout <<"AAAAAAA"endl;
^~~~~~~~~~~~~
foo.cc:6:9: error: unable to find string literal operator 'operator""endl' with 'const char [7]', 'long unsigned int' arguments
cout <<" AAAAA"endl;
^~~~~~~~~~~~
foo.cc:7:9: error: unable to find string literal operator 'operator""endl' with 'const char [6]', 'long unsigned int' arguments
cout <<" AAA"endl;
^~~~~~~~~~~
foo.cc:8:9: error: unable to find string literal operator 'operator""endl' with 'const char [5]', 'long unsigned int' arguments
cout <<" A"endl;
^~~~~~~~~~
foo.cc:10:10: error: expected '}' at end of input
return 0;
^
[Hydro](https://hydro.ac)提供评测服务