记录详情

System Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if(zi=a*d-b*c)
                  ^
/in/foo.cc:27:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(zi=a*d-b*c)
     ^~
/in/foo.cc:33:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
        int mu=b*d;
        ^~~
/in/foo.cc:42:7: warning: statement has no effect [-Wunused-value]
     zi/k;
     ~~^~
/in/foo.cc:43:7: warning: statement has no effect [-Wunused-value]
     mu/k;
     ~~^~
/in/foo.cc:46:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/in/foo.cc:48:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
      return 0;       
      ^~~~~~
/in/foo.cc:45:15: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
      cout<<zi/n;
               ^
VJ4Error('ProblemDataNotFoundError', '题目 1007 的数据未找到。', 'sgxa', 1007)

信息

递交者
类型
递交
题目
P1007 A-B Problem
语言
C++
递交时间
2019-05-11 16:40:43
评测时间
2019-05-11 16:40:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes