Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:17: error: 'abs' was not declared in this scope
if(K>=abs(x-x1)+abs(y-y1)+1+x) K-=abs(x-x1)+abs(y-y1);
^
/in/foo.cc:35:21: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld\n",ans);
^
信息
- 递交者
- 类型
- 递交
- 题目
- P1128 花生采摘
- 语言
- C++
- 递交时间
- 2020-11-12 22:28:06
- 评测时间
- 2020-11-12 22:28:06
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes