/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(ls=='o')sx=i;sy=j;
    ^~
/in/foo.cc:11:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(ls=='o')sx=i;sy=j;
                    ^~
/in/foo.cc:12:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(ls=='x')ex=i;ey=j;
    ^~
/in/foo.cc:12:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(ls=='x')ex=i;ey=j;
                    ^~
/in/foo.cc:41:2: error: expected '}' before 'else'
  else{
  ^~~~

信息

递交者
类型
自测
题目
P1000 A+B Problem
语言
C++
递交时间
2021-01-10 15:07:26
评测时间
2021-01-10 15:07:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes