/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:9:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(!isdigit(c=getchar())); x=c-48;  //不需要输入优化
    ^~~~~
/in/foo.cc:9:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    while(!isdigit(c=getchar())); x=c-48;  //不需要输入优化
                                  ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:26:24: error: 'd' was not declared in this scope
   F(k) dist=_max(dist,(d[k][i]+d[k][j]-d[i][j])/2);
                        ^

信息

递交者
类型
递交
题目
P1362 树网的核
语言
C++
递交时间
2018-04-03 13:59:22
评测时间
2018-04-03 13:59:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes