Compile Error

foo.cc: In function ‘int main()’:
foo.cc:5:21: error: ‘INT_MEX’ was not declared in this scope; did you mean ‘INT_MAX’?
    5 |         int a,b,c,d=INT_MEX,e=0,f=0;
      |                     ^~~~~~~
      |                     INT_MAX
foo.cc:10:17: error: ‘f’ was not declared in this scope
   10 |                 f=ceil(a*1.0/b);
      |                 ^
foo.cc:11:17: error: ‘e’ was not declared in this scope
   11 |                 e=f*c;
      |                 ^

信息

递交者
类型
递交
题目
P1486 买铅笔
语言
C++
递交时间
2024-04-16 20:21:47
评测时间
2024-04-16 20:21:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes