记录详情

Compile Error

/in/foo.cc: In function 'int FindMin(int*, int*, int, int, int*, int&)':
/in/foo.cc:7:14: error: 'INFINITY' was not declared in this scope
  int i,tempE=INFINITY;
              ^~~~~~~~
/in/foo.cc:7:14: note: suggested alternative: 'NFDBITS'
  int i,tempE=INFINITY;
              ^~~~~~~~
              NFDBITS
/in/foo.cc: In function 'int main()':
/in/foo.cc:59:19: error: 'INFINITY' was not declared in this scope
  int n,i=0,length=INFINITY;
                   ^~~~~~~~
/in/foo.cc:59:19: note: suggested alternative: 'NFDBITS'
  int n,i=0,length=INFINITY;
                   ^~~~~~~~
                   NFDBITS

信息

递交者
类型
递交
题目
5 城市中的最短路径
比赛
小兰赛 2018/12/2
语言
C++
递交时间
2018-12-02 11:51:36
评测时间
2018-12-02 11:51:36
评测机
分数
0
总耗时
267ms
峰值内存
29.688 MiB