记录详情

Compile Error

/in/foo.cc:1:3: error: invalid preprocessing directive #incloude; did you mean #include?
    1 | # incloude <iostream>
      |   ^~~~~~~~
      |   include
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin >> h >> m >> s;
      |         ^~~
/in/foo.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
  +++ |+#include <iostream>
    1 | # incloude <iostream>
/in/foo.cc:21:9: error: 'cout' was not declared in this scope
   21 |         cout << h << " " << m << " " << s << endl;
      |         ^~~~
/in/foo.cc:21:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
/in/foo.cc:21:46: error: 'endl' was not declared in this scope
   21 |         cout << h << " " << m << " " << s << endl;
      |                                              ^~~~
/in/foo.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
  +++ |+#include <ostream>
    1 | # incloude <iostream>

信息

递交者
类型
自测
题目
P1009 contest1-1 时间类Time
语言
C++
递交时间
2026-11-13 19:53:11
评测时间
2026-11-13 19:53:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes