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:1: error: 'cin' was not declared in this scope
 cin>>a>>b>>ch;
 ^~~
/in/foo.cc:10:9: error: 'cout' was not declared in this scope
 case'+':cout<<a<<ch<<b<<"="<<a+b<<endl;break;
         ^~~~
/in/foo.cc:10:35: error: 'endl' was not declared in this scope
 case'+':cout<<a<<ch<<b<<"="<<a+b<<endl;break;
                                   ^~~~

信息

递交者
类型
递交
题目
P1720 简单计算器
语言
C++
递交时间
2024-05-07 21:27:07
评测时间
2024-05-07 21:27:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes