Compile Error

foo.cc:9:11: error: stray '\357' in program
    9 |     for(;;)
      |           ^
foo.cc:9:12: error: stray '\274' in program
    9 |     for(;;)
      |            ^
foo.cc:9:13: error: stray '\211' in program
    9 |     for(;;)
      |             ^
foo.cc: In function 'int main()':
foo.cc:10:5: error: expected primary-expression before '{' token
   10 |     {
      |     ^
foo.cc:9:11: error: expected ')' before '{' token
    9 |     for(;;)
      |        ~  ^
      |           )
   10 |     {
      |     ~      
foo.cc:15:10: error: expected ';' before ')' token
   15 |  for(n!=0)
      |          ^
      |          ;
foo.cc:15:7: warning: statement has no effect [-Wunused-value]
   15 |  for(n!=0)
      |      ~^~~
foo.cc:26:5: error: expected primary-expression before 'return'
   26 |     return 0;
      |     ^~~~~~
foo.cc:25:3: error: expected ';' before 'return'
   25 |  }
      |   ^
      |   ;
   26 |     return 0;
      |     ~~~~~~
foo.cc:26:5: error: expected primary-expression before 'return'
   26 |     return 0;
      |     ^~~~~~
foo.cc:25:3: error: expected ')' before 'return'
   25 |  }
      |   ^
      |   )
   26 |     return 0;
      |     ~~~~~~
foo.cc:15:5: note: to match this '('
   15 |  for(n!=0)
      |     ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1035 任意位数的回文数判断
语言
C++
递交时间
2022-03-29 21:19:58
评测时间
2022-03-29 21:19:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes