Compile Error

foo.cc:4:7: error: stray '\357' in program
    4 |  int a;
      |       ^
foo.cc:4:8: error: stray '\274' in program
    4 |  int a;
      |        ^
foo.cc:4:9: error: stray '\233' in program
    4 |  int a;
      |         ^
foo.cc: In function 'int main()':
foo.cc:5:2: error: expected initializer before 'bool'
    5 |  bool sb=true;
      |  ^~~~
foo.cc:6:7: error: 'a' was not declared in this scope
    6 |  cin>>a;
      |       ^
foo.cc:9:4: error: 'sb' was not declared in this scope
    9 |    sb=false;
      |    ^~
foo.cc:12:5: error: 'sb' was not declared in this scope
   12 |  if(sb=true)
      |     ^~
foo.cc:17:2: error: expected '}' at end of input
   17 |  }
      |  ^
foo.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1047 素数
语言
C++
递交时间
2022-07-11 16:23:49
评测时间
2022-07-11 16:23:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes