Compile Error

foo.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude<iostream>
      |  ^~~~~~
      |  include
foo.cc: In function 'int main()':
foo.cc:5:4: error: 'cout' was not declared in this scope
    5 |    cout<<"hello world"<<endl;
      |    ^~~~
foo.cc:1:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
  +++ |+#include <iostream>
    1 | #incude<iostream>
foo.cc:5:25: error: 'endl' was not declared in this scope
    5 |    cout<<"hello world"<<endl;
      |                         ^~~~
foo.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
  +++ |+#include <ostream>
    1 | #incude<iostream>
foo.cc:6:12: error: expected ';' before ':' token
    6 |    return 0:
      |            ^
      |            ;
foo.cc:6:12: error: expected primary-expression before ':' token
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1001 输出“Hello World!"
语言
C++
递交时间
2022-09-09 10:32:23
评测时间
2022-09-09 10:32:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes