记录详情

Compile Error

foo.cc:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ <bitd/stdc++.h>
      |  ^~~~~~
      |  include
foo.cc: In function 'int main()':
foo.cc:2:40: error: 'cin' was not declared in this scope
    2 | using namespace std;int main(){int a,b;cin>>a>>b;cout<<a+b;return 0;}
      |                                        ^~~
foo.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
  +++ |+#include <iostream>
    1 | #includ <bitd/stdc++.h>
foo.cc:2:50: error: 'cout' was not declared in this scope
    2 | using namespace std;int main(){int a,b;cin>>a>>b;cout<<a+b;return 0;}
      |                                                  ^~~~
foo.cc:2:50: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C++
递交时间
2022-04-04 11:33:59
评测时间
2022-04-04 11:33:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes