/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void work()':
/in/foo.cc:65:11: error: 'INT_MAX' was not declared in this scope
  int R = -INT_MAX,ans = 0;
           ^~~~~~~
/in/foo.cc:68:4: error: 'ans' was not declared in this scope
    ans += p[i].r - p[i].l;
    ^~~
/in/foo.cc:71:4: error: 'ans' was not declared in this scope
    ans += p[i].r - p[i-1].r;
    ^~~
/in/foo.cc:75:16: error: 'ans' was not declared in this scope
  printf("%d\n",ans);
                ^~~

信息

递交者
类型
递交
题目
P1165 火烧赤壁
语言
C++
递交时间
2018-06-14 20:13:43
评测时间
2018-06-14 20:13:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes