Compile Error

foo.cc:1:2: error: stray '#' in program
    1 | i#nclude <cmath>
      |  ^
foo.cc:1:1: error: 'i' does not name a type
    1 | i#nclude <cmath>
      | ^
foo.cc: In function 'int main()':
foo.cc:6:2: error: 'cin' was not declared in this scope
    6 |  cin >> n;
      |  ^~~
foo.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout <<"No";
      |   ^~~~
foo.cc:13:23: error: 'sqrt' was not declared in this scope
   13 |  for (int i = 2; i <= sqrt(n); i++)
      |                       ^~~~
foo.cc:23:3: error: 'cout' was not declared in this scope
   23 |   cout <<"No";
      |   ^~~~
foo.cc:27:3: error: 'cout' was not declared in this scope
   27 |   cout <<"Yes";
      |   ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1037 素数
语言
C++
递交时间
2021-12-11 09:40:44
评测时间
2021-12-11 09:40:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes