Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type
 include <iostream>
 ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:3: error: 'cin' was not declared in this scope
   cin>>d;
   ^~~
/in/foo.cc:18:4: error: 'cout' was not declared in this scope
    cout<<sum<<endl;
    ^~~~
/in/foo.cc:18:15: error: 'endl' was not declared in this scope
    cout<<sum<<endl;
               ^~~~

信息

递交者
类型
递交
题目
P1630 A2-3 循环结构入门:斐波拉契数列的和
语言
C++
递交时间
2022-01-17 09:18:14
评测时间
2022-01-17 09:18:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes