记录详情

Compile Error

/in/foo.cc:6:9: error: stray '\357' in program
  if(a>=b)
         ^
/in/foo.cc:6:10: error: stray '\274' in program
  if(a>=b)
          ^
/in/foo.cc:6:11: error: stray '\211' in program
  if(a>=b)
           ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:5: error: expected ')' before 'cout'
     cout<<"max="<<a;
     ^~~~
/in/foo.cc:9:5: error: expected ';' before 'cout'
     cout<<"max="<<b;
     ^~~~
/in/foo.cc:8:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     else(a<b)
     ^~~~
/in/foo.cc:11:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
  return 0;
  ^~~~~~

信息

递交者
类型
递交
题目
P1010 判断两个数中的较大数
语言
C++
递交时间
2024-11-06 17:29:03
评测时间
2024-11-06 17:29:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes