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:6:1: error: 'cin' was not declared in this scope
 cin>>n;
 ^~~
/in/foo.cc:8:1: error: 'cout' was not declared in this scope
 cout<<"YES"<<endl;
 ^~~~
/in/foo.cc:8:14: error: 'endl' was not declared in this scope
 cout<<"YES"<<endl;
              ^~~~
/in/foo.cc:10:1: error: 'cout' was not declared in this scope
 cout<<"NO"<<endl;
 ^~~~
/in/foo.cc:10:13: error: 'endl' was not declared in this scope
 cout<<"NO"<<endl;
             ^~~~

信息

递交者
类型
递交
题目
P2337 1.4.8:判断一个数能否同时被3和5整除
语言
C++
递交时间
2024-04-29 20:25:56
评测时间
2024-04-29 20:25:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes