记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:3:14: error: ‘cout’ is not a member of ‘std’
    3 |         std::cout<<"Hello World!"<<std::endl;
      |              ^~~~
foo.cc:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
    1 | #include <ostream>
  +++ |+#include <iostream>
    2 | int main(){

信息

递交者
类型
递交
题目
Hello World!
语言
C++
递交时间
2024-05-10 12:41:25
评测时间
2024-05-10 12:41:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes