/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'double bz(int, int)':
/in/foo.cc:60:11: error: 'INT_MAX' was not declared in this scope
    return INT_MAX;
           ^~~~~~~
/in/foo.cc:60:11: note: suggested alternative: 'INT8_MAX'
    return INT_MAX;
           ^~~~~~~
           INT8_MAX
/in/foo.cc: In function 'int main()':
/in/foo.cc:103:11: error: 'INT_MAX' was not declared in this scope
 double bm=INT_MAX,bi;
           ^~~~~~~
/in/foo.cc:103:11: note: suggested alternative: 'INT8_MAX'
 double bm=INT_MAX,bi;
           ^~~~~~~
           INT8_MAX
/in/foo.cc:107:3: error: 'bi' was not declared in this scope
   bi=bz(a1,b1);
   ^~
/in/foo.cc:107:3: note: suggested alternative: 'bm'
   bi=bz(a1,b1);
   ^~
   bm
/in/foo.cc:74:9: warning: unused variable 't' [-Wunused-variable]
 int i,j,t=clock();
         ^

信息

递交者
类型
递交
题目
P1780 开车旅行
语言
C++
递交时间
2017-10-29 10:02:04
评测时间
2017-10-29 10:02:04
评测机
分数
0
总耗时
550ms
峰值内存
51.254 MiB