记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:22: error: 'memset' was not declared in this scope
  memset(a,0,sizeof(a));
                      ^
/in/foo.cc:36:14: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(b[v][j] == b[j][v] == 1 && v > j)
      ~~~~~~~~^~~~~~~~~~
/in/foo.cc:43:46: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
     if(c[i][j]<(c[i][k]+c[k][j]) && (b[i][k] == b[k][j] == 1) && i!= j)
                                      ~~~~~~~~^~~~~~~~~~

信息

递交者
类型
递交
题目
奶牛吃草(这是一道附加题...)
语言
C++
递交时间
2019-03-04 17:39:45
评测时间
2019-03-04 17:39:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes