Compile Error
foo.cc: In function 'int main()':
foo.cc:8:10: error: 'INT_MAX' was not declared in this scope
int min=INT_MAX,k;
^~~~~~~
foo.cc:8:10: note: suggested alternative: 'INT8_MAX'
int min=INT_MAX,k;
^~~~~~~
INT8_MAX
foo.cc:13:4: error: 'k' was not declared in this scope
k=n/a*b;
^
foo.cc:15:4: error: 'k' was not declared in this scope
k=(n/a+1)*b;
^
foo.cc:16:6: error: 'k' was not declared in this scope
if(k<min)min=k;
^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 递交
- 题目
- P1486 买铅笔
- 比赛
- 盛泽二中编程社团 5月阶段练习
- 语言
- C++
- 递交时间
- 2021-05-13 20:30:02
- 评测时间
- 2021-05-13 20:30:02
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes