记录详情

Compile Error

/in/foo.cc:10:10: error: stray '\357' in program
  if(a%2=0)
          ^
/in/foo.cc:10:11: error: stray '\274' in program
  if(a%2=0)
           ^
/in/foo.cc:10:12: error: stray '\211' in program
  if(a%2=0)
            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:9: error: lvalue required as left operand of assignment
  if(a%2=0)
         ^
/in/foo.cc:11:5: error: expected ')' before 'cout'
     cout<<"Even"<<endl;
     ^~~~
/in/foo.cc:13:12: error: lvalue required as left operand of assignment
     if(b%2=0)
            ^
/in/foo.cc:12:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else
  ^~~~
/in/foo.cc:17:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
     return 0;
     ^~~~~~

信息

递交者
类型
自测
题目
P1491 D. 梅开二度
语言
C++
递交时间
2023-09-09 21:52:50
评测时间
2023-09-09 21:52:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes