Compile Error

foo.cc:1:2: error: invalid preprocessing directive #imclude; did you mean #include?
    1 | #imclude<bits/stdc++.h>
      |  ^~~~~~~
      |  include
foo.cc: In function ‘int main()’:
foo.cc:5:9: error: ‘cin’ was not declared in this scope
    5 |         cin>>x;
      |         ^~~
foo.cc:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; this is probably fixable by adding ‘#include <iostream>’
  +++ |+#include <iostream>
    1 | #imclude<bits/stdc++.h>
foo.cc:6:9: error: ‘cout’ was not declared in this scope
    6 |         cout<<x/3600;
      |         ^~~~
foo.cc:6:9: note: ‘std::cout’ is defined in header ‘<iostream>’; this is probably fixable by adding ‘#include <iostream>’

信息

递交者
类型
递交
题目
P1710 小林跑步
语言
C++
递交时间
2026-02-10 12:59:03
评测时间
2026-02-10 12:59:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes